我正试图在我的应用程序中获得Android应用程序的列表--特别是订阅。在设备(而不是模拟器)上进行调试时,当它调用获取产品时,我得到了这个错误,error occurred while loading products: Error: IAP not prepared. Check if Google Play service is available.,下面是我所做的事情:
AndroidManifest.xml有计费属性集应该注意的是,我在应用程序计费https://github.com/dooboolab/react-native-iap 中使用了react-本机和这个包,尽管我认为这里的问题是,我错过了为Android设置应用程序账单所需的一般步骤之一。任何想法或指导都将不胜感激-我已经为这件事斗争了好几天了!
发布于 2019-01-06 14:24:02
您能提供您正在使用的代码吗?
根据这个问题的答案:https://github.com/dooboolab/react-native-iap/issues/301请确保您正在使用initConnection而不是prepare初始化IAB。
https://stackoverflow.com/questions/53900321
复制相似问题