android - Product state is always "invalid" (using Cordova Plugin Purchase) -
i'm using cordova plugin purchase use in-app billing in android app. however, using alert json-stringified product, product's state "invalid". here sample of code around issue:
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();
my problem: cannot access product's information google play.
after searching on google , stack overflow, here steps did/verified find solution:
- i triple checked id same on developer console, , type "managed".
- the product activated in developer console.
- i uploaded exact same apk on test phone uploaded in developer console, in alpha testing.
- i'm using different google account 1 in developer console.
- i have added (different) account in list of authorized test gmail accounts.
- the apk signing , uploading release (not debug) version.
- as far know, using 1 key sign apks (referring question). i'm unsure how using many keys happen.
- i uninstalled app completely, rebooted phone , reinstalled it.
thank help!
after searching, found answer in last few comments in this issue on plugin's github: you have publish application (in alpha mode) on google play work.
publishing in alpha mode lets people in test group access application, no worries being public. fill mandatory fields temporary information.
Comments
Post a Comment