React Native "An unknown error occurred" by Apple review

836 Views Asked by At

I use react-native-iap package (6.0.3)

React native version is 0.64

I get no error when testing iap in ios but Apple Review gets "An unknown error occurred" when they try to call requestPurchase method. I tested in real device and simulator, both of them have no error. I waited a day and submit again but app has been rejected again. What can i do?

1

There are 1 best solutions below

1
On BEST ANSWER

I think I resolved. Xcode > Signing Capabilities > Add > In-App Purchase and bingo Apple approved!