This is from an expo 53 react native implementation.
The errors
[StoreKit] [b86562ee] Request failed with error Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
[StoreKit] [3e167164] Request failed with error Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
[StoreKit] [b86562ee] Error updating Storefront: Error Domain=StoreKit_Shared.StoreKitInternalError Code=7 "(null)"
Error Domain=ASDErrorDomain Code=509 "No active account" UserInfo={NSLocalizedDescription=No active account}
occurs when calling
// Set API key based on platform
const apiKey = Platform.select({
ios: process.env.EXPO_PUBLIC_IOS_RC_API_KEY || 'appl_xxxxxxxxxxxxxxxxxxxxxxxxxx',
android: process.env.EXPO_PUBLIC_ANDROID_RC_API_KEY || 'your_android_api_key_here',
});
// Enable debug logs in development
if (__DEV__) {
await Purchases.setLogLevel(LOG_LEVEL.DEBUG);
}
// Configure RevenueCat with anonymous ID
await Purchases.configure({
apiKey,
entitlementVerificationMode: Purchases.ENTITLEMENT_VERIFICATION_MODE.INFORMATIONAL,
});
I get this when I execute Purchase.configure. I am using a simulator because I am still learning how to get it to run on my device.
I have tried everything I can think of. I have watched so many help videos and read and reread the documentation. I have no doubt it is my fault. But after many days of trying everything I am close to giving up. And I can’t. This AAC app is for my grandson and he needs it badly.