Skip to main content
Solved

Platform specific API Keys for React Native Setup

  • 17 November 2023
  • 1 reply
  • 129 views

Forum|alt.badge.img+1

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.

Best answer by kaitlin

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.

View original
Did this post help you find an answer to your question?

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • November 21, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings