Reputation: 85
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:
Upvotes: 4
Views: 4625
Reputation: 915
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
Upvotes: 1
Reputation: 498
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
Upvotes: 4