Hi RevenueCat community,
I'm integrating RevenueCat into an iOS App Clip (targeting iOS 16+) and I'm running into credential validation issues. I'd love some clarity on the recommended setup.
My setup:
- Main app bundle ID:
com.mycompany.appname - App Clip bundle ID:
com.mycompany.appname.Clip - Both should use the same in-app purchase products defined in App Store Connect
- App Clip is embedded in the parent app (as Apple requires)
- Using RevenueCat SDK v5.x (StoreKit 2)
What I tried: I created a separate app entry in RevenueCat for the Clip bundle ID com.mycompany.appname.Clip, uploaded the same IAP key (.p8) and shared secret as the main app. RevenueCat validation returns: "The key is not valid or is not compatible with the Bundle ID of your app."
The build with the Clip has been successfully uploaded to TestFlight, so the bundle ID definitely exists in App Store Connect but inside the mother app (not as a single standard app).
My questions:
- Should I use a separate RevenueCat app entry for the Clip, or should I initialize the SDK in the Clip using the main app's API key?
- Are there any known limitations with StoreKit 2 and App Clips?
- Is there any official recommended pattern for App Clips in RevenueCat?
Any guidance appreciated — App Clips seem to be a bit of an edge case not covered clearly in the docs.
Thanks!
