kar*_*ann 5 android google-play cordova cordova-plugins
我正在使用Cordova插件购买功能在我的Android应用中使用应用内结算。但是,将警报与JSON字符串化产品一起使用时,产品的状态始终为“无效”。这是我有关此问题的代码示例:
store.register({
id: 'test_walker_01',
alias: 'walker',
type: store.CONSUMABLE
});
item_walker = store.get("test_walker_01");
store.when("product").updated(function (product) {
alert(JSON.stringify(product));
});
store.refresh();
Run Code Online (Sandbox Code Playgroud)
我的问题:我无法从Google Play访问产品信息。
在Google和Stack Overflow上进行了大量搜索之后,以下是我为验证解决方案已经执行/验证的步骤:
谢谢您的帮助!
归档时间: |
|
查看次数: |
327 次 |
最近记录: |