Subscriptions are not appeared on the release version

Hello

I'm developing a React Native application and I added IAP (like subscriptions) to my app. For it I user react-native-iap, I suppose It's the most common library to integrate in-app purchases. So, I created 3 subs on App Store Connect and tested it on the iOS simulator. Firstly I was receiving the empty array instead of subs data, but when I have been add StoreKit to my project I became to receive an appropriate subs data with all corresponding information. Moreover, I could successfully subscribe on them.

But, when I released app on the TestFlight for internal testing I forced with the familiar issue, I received an empty array.

In conclusion, on the debug version everything works (subscriptions data returns), but on the release I can't to receive the same result.

Are you able to demonstrate the issue in a test project created from one of Xcode's templates, and using only Apple APIs? If not, you should check with the support resources provided by “React Native” to get assistance with their software.

Unless another developer in the forums has experience with the third-party and can provide assistance.

You can find tips on creating and sharing a test project in Creating a Test Project.

Albert Pascual
  Worldwide Developer Relations.

When you enable StoreKit Testing in Xcode, StoreKit queries the active StoreKit configuration file in your Xcode project for in-app purchases configured for your app.

When you disable StoreKit Testing in Xcode, test in the sandbox, StoreKit queries App Store Connect for in-app purchases configured for your app. TestFlight uses the sandbox for in-app purchases. Confirm that:

  • Agree to the latest Apple Developer Program License Agreement.

  • Complete the Paid Apps Agreement and all the financial agreements. For more information, see Manage banking information and Manage tax information.

  • When you renew your developer membership, see if you need to make updates to your agreements. When your developer membership expires, your financial agreements expire as well.

  • Every product identifier you use in your app matches a product identifier for an in-app purchase configured for your app in App Store Connect.

Subscriptions are not appeared on the release version
 
 
Q