Steps for setting up sandbox Environment
go to - Xcode -> Product -> Scheme -> Edit Scheme -> Click on Run (on Left side) then in Option Tab set the "storekit Configuration" to "None"
in your device you need not to logged out from the current Apple ID , just go to settings -> App store -> and add Sandbox ID (you have to create at your Apple developer Account)
and run the project from the xcode now, your sandbox environment is ready
can anyone help me out with the following issue , which i think is related to App signed Agreement, but want to validate, if someone faced the same issue
I have set up my Sandbox environment but now issue is when I am trying to get the Subscription products by using getSubscription() of react-native IAP, I am getting the empty array.
I am able to fetch subscription products with xcode environment but as soon as i switched to Sandbox , getting empty array and as per my R&D so far , it might be issue because my app has Free agreement on Apple account. has someone also faced the similar issue