Apple rejects my app because in-app purchase not working on emulator

Hello,

I have developed an app in ionic v6, and I have implemented the in-app purchase 2 library. Everything works perfectly on the real device, but the purchases don't work on the simulator (it doesn't do anything when you click on buy).

The problem is that app reviewers test the app on emulator, so it keeps getting rejected for me.

Is there a way to make it work in the emulator? Shouldn't it be enough that it works on a real device?

Reviewers can test on real device?

Thank you

Hello @samurebuelta. App Review does not review apps on an emulator. If your app isn't working in App Review, it's likely it's not going to work for customers.

I recommend you review Testing a Release Build, which highlights all of the common causes of this type of issue, and which includes the recommended workflow for testing and isolating the type of issues which are frequently missed during development and can therefore surface in App Review, customer environments or distribution app testing.

I also recommend reviewing Testing in-app purchases with sandbox

You may need to contact Ionic support for help with resolving any issues you encounter.

—Jason.

"The problem is that app reviewers test the app on emulator". What makes you say that statement?

Apple rejects my app because in-app purchase not working on emulator
 
 
Q