Solved

Platform specific API Keys for React Native Setup

  • 17 November 2023
  • 1 reply
  • 59 views

Badge

Link to original RC doc: https://www.revenuecat.com/docs/configuring-sdk

For the React Native Setup, it mentions the api keys (for Apple and Android).

Code in the documentation:

if (Platform.OS === 'ios') {

  Purchases.configure({apiKey: <public_ios_sdk_key>});

} else if (Platform.OS === 'android') {

  Purchases.configure({apiKey: <public_google_sdk_key>});

}

 

What are these sdk keys exactly? Is it the App Connect Key or the Issuer Id? I searched the documentation and could not find more info.

icon

Best answer by kaitlin 21 November 2023, 16:45

View original

1 reply

Userlevel 4
Badge +6

Hi @kedar,

Sorry for any confusion here - any reference to an SDK key in the `Configuring the SDK` doc is referring to the public API key that RevenueCat generates per project to configure the SDK. You can find yours in Project Settings > API keys > App specific keys in the RevenueCat dashboard.

Reply