Hi, I am using Draftbit (React) with the latest RC SDK (9.11.2) but still get the error specified API Key is not recognized when I am running it on ExpoGo on iOS. What could possibly cause this???
if(uuid) conf['appUserID'] = uuid;
if(Constants.executionEnvironment == 'bare') { // check for ExpoGO
console.log('Using RevenueCat Test Store');
conf['apiKey'] = APIKeys.revenueCatTestStore;
} else if (Platform.OS == 'android') {
console.log('Using Android Play Store');
conf['apiKey'] = APIKeys.google;
} else {
console.log('Using AppStore');
conf['apiKey'] = APIKeys.apple;
}
await Purchases.configure(conf);
The error log:
Using RevenueCat Test Store
[RevenueCat] 😿‼️ The specified API Key is not recognized. Ensure that you are using the public app-specific API key, which should look like 'appl_1a2b3c4d5e6f7h'. See https://rev.cat/auth for more details.
