Unknown Error Getting Products React-Native-Iap

Unknown Error Getting Products React-Native-Iap

I have days trying to implement in app purchase in React Native without success. I was trying using In-app purchases from Expo and right now with react-native-iap and I'm facing this error: error code: E_UNKNOWN. error message: UNKNOWN_ERROR

Subscription file

Apple Connect Info

App.tsx file:

1

2 Answers

This bug occurs on ios Simulator, after hours and hours of search and no solutions, what you need to do is Running the app on real device.

connect ios device to your computer and run it on the real device and you will see your in-app products

You cannot test in app purchase in simulator. There is way to test in app purchase in simulator Using StoreKit we can test in app purchase in simulator please look at this

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.