Fovea / cordova-plugin-purchase-demo

Demo of the Purchase Plugin for Cordova
32 stars 35 forks source link

App Crashes on Android once purchase has been made and whenever store is initialized #17

Closed haleo9000 closed 6 years ago

haleo9000 commented 6 years ago

I've recently added this into a Meteor application, and am running into a seemingly strange error. With my logs set to debug, I am able to see the following information:

03-01 08:36:28.906 850-850/appName I/chromium: [INFO:CONSOLE(1496)] "[store.js] DEBUG: store.trigger -> triggering action refreshed", source: http://localhost:12656/plugins/cc.fovea.cordova.purchase/www/store-android.js (1496) 03-01 08:36:28.906 850-850/appName I/chromium: [INFO:CONSOLE(1496)] "[store.js] DEBUG: queries !! 'refreshed'", source: http://localhost:12656/plugins/cc.fovea.cordova.purchase/www/store-android.js (1496) 03-01 08:36:28.906 850-850/appName I/chromium: [INFO:CONSOLE(2023)] "InAppBilling[js]: setup ok", source: http://localhost:12656/plugins/cc.fovea.cordova.purchase/www/store-android.js (2023) 03-01 08:36:28.906 850-850/appName I/chromium: [INFO:CONSOLE(2023)] "InAppBilling[js]: load ["id1","id2"]", source: http://localhost:12656/plugins/cc.fovea.cordova.purchase/www/store-android.js (2023)

The above logs are thrown in the InAppBilling.prototype.init function in store-android. The skus are the same as the ids defined on each product in the store, and it never gets past here. Any ideas on how to troubleshoot further would be greatly appreciated, as this is the point cordova.exec() is called.

Additional Note: Everything works fine and I am able to test purchase one of my products. Once I've purchased it, however, is when the crashing starts.

haleo9000 commented 6 years ago

This is the wrong project. Sorry for the confusion. Closing and I'll ask in the correct project.