Reputation: 1873
I am trying to get a list of Android In App Billings (IAB) in my app--subscriptions specifically. While debugging on device (NOT EMULATOR) When it makes the call to get the products I get this error error occurred while loading products: Error: IAP not prepared. Check if Google Play service is available.
Here are the things that I've done:
AndroidManifest.xml
has the BILLING property setIt should be noted that I am using react-native and this package for in app billing https://github.com/dooboolab/react-native-iap although I think the issue here is I have missed one of the general steps necessary to set up in app billings for Android. Any ideas or guidance would be appreciated--I've been fighting this for days now!
Upvotes: 0
Views: 1811
Reputation: 650
Can you please provide code you are using?
According to this issue answer: https://github.com/dooboolab/react-native-iap/issues/301 please make sure you are initializing IAB using initConnection
not prepare
.
Upvotes: 2