getSubscription method returns empty.

Hello everybody,

I am creating an app with weekly subscription and trying to test it in my device and in iPhone 13 emulator. I am using React Native. Already did the following steps:

  • Activate the Free Apps agreement.
  • Add products in Apple Appstore Connect and see the state "Ready for Submit" for all products
  • Run my app in emulator and real device

I didn't have any problem with connection to react-native-iap, however getSubscription method returned empty array. Anyone can help me about that please?

Testing in Xcode is offline and independent of any products in App Store Connect. Please see this article for more info. https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

getSubscription method returns empty.
 
 
Q