I’ve integrated RevenueCat into my Flutter app, and subscriptions are working perfectly in local development (tested on a real device using StoreKit). However, when testing the same build on TestFlight and Production, in-app purchases fail.
What I Have Tried:
- ✅ Verified that the same bundle ID is used across development, TestFlight, and production.
- ✅ Checked that RevenueCat is correctly initialized with the right API key.
- ✅ Ensured that the App Store "Paid Apps Agreement" is accepted in App Store Connect > Agreements, Tax, and Banking.
- ✅ Created and assigned sandbox accounts (iOS 18 moved this to Settings > Developer > Sandbox Account).
- ✅ Removed the StoreKit configuration file from the Release Scheme in Xcode to ensure real App Store purchases.
- ✅ Checked that my in-app purchase products are approved and in "Ready to Submit" or "Waiting for Review" state in App Store Connect.
- ✅ Ensured the App-Specific Shared Secret is added to RevenueCat.
- ✅ Tried waiting a few hours in case purchases take time to activate in TestFlight.
Local Testing →
LOCAL TESTING
TestFlight Testing →