j3k0 / cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows
https://purchase.cordova.fovea.cc
1.29k stars 529 forks source link

App stops when calling store.refresh() #103

Closed ozexpert closed 5 years ago

ozexpert commented 9 years ago

Was working just fine with 1.9.0-beta1 But with current version, I just dies when calling store.refresh()

Moussawi7 commented 9 years ago

Hi, I have the same issue too. I conducted my first purchase successfully. but now,the application crash each time i call

store.refresh()

and here is what i found in the log:

12-22 16:56:40.212: I/Choreographer(21584): Skipped 399 frames!  The application may be doing too much work on its main thread.
j3k0 commented 9 years ago

Hi, can you share more logs? There should be a stacktrace or explanation of the crash in the adb logcat logs.

Moussawi7 commented 9 years ago

HI @j3k0, this is the full log:

12-23 10:20:50.170: I/CordovaLog(20745): Changing log level to DEBUG(3)
12-23 10:20:50.170: D/CordovaActivity(20745): CordovaActivity.init()
12-23 10:20:50.180: I/dalvikvm(20745): Could not find method android.webkit.WebView.setWebContentsDebuggingEnabled, referenced from method org.apache.cordova.CordovaWebView.enableRemoteDebugging
12-23 10:20:50.180: W/dalvikvm(20745): VFY: unable to resolve static method 249: Landroid/webkit/WebView;.setWebContentsDebuggingEnabled (Z)V
12-23 10:20:50.180: D/dalvikvm(20745): VFY: replacing opcode 0x71 at 0x0001
12-23 10:20:50.390: I/webclipboard(20745): clipservice: android.sec.clipboard.ClipboardExManager@417951d0
12-23 10:20:50.430: D/CordovaWebView(20745): CordovaWebView is running on device made by: samsung
12-23 10:20:50.430: D/CordovaActivity(20745): CordovaActivity.createViews()
12-23 10:20:50.650: D/CordovaWebView(20745): >>> loadUrl(file:///android_asset/www/index.html)
12-23 10:20:50.650: D/PluginManager(20745): init()
12-23 10:20:50.650: D/CordovaWebView(20745): >>> loadUrlNow()
12-23 10:20:50.660: D/WebView(20745): loadUrlImpl: called
12-23 10:20:50.660: D/CordovaActivity(20745): Resuming the App
12-23 10:20:50.680: D/SoftKeyboardDetect(20745): Ignore this event
12-23 10:20:50.770: D/libEGL(20745): loaded /vendor/lib/egl/libGLES_vc4.so
12-23 10:20:50.790: D/(20745): GPU monitor inactive - could not find libgpumonitor.so [Symbol not found: ] or not enabled (debug.egl.hw.gpumonitor = 0)
12-23 10:20:50.800: W/khrn_client(20745): init_window num_buffers 3 min undequeued buffers 1
12-23 10:20:50.800: W/khrn_client(20745): init_window window 0x4d1e7688, 480x800 hintTransform 0x0 do_pre 1
12-23 10:20:50.820: D/OpenGLRenderer(20745): Enabling debug mode 0
12-23 10:20:50.820: D/WebView(20745): onSizeChanged - w:480 h:762
12-23 10:20:51.020: D/SoftKeyboardDetect(20745): Ignore this event
12-23 10:20:51.151: V/webkit(20745): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {417924c8}
12-23 10:20:51.251: D/webcore(20745):  CORE loadUrl: called
12-23 10:20:51.251: D/webkit(20745): Firewall not null
12-23 10:20:51.251: D/webkit(20745): euler: isUrlBlocked = false
12-23 10:20:51.261: D/CordovaWebViewClient(20745): onPageStarted(file:///android_asset/www/index.html)
12-23 10:20:51.261: D/CordovaActivity(20745): onMessage(onPageStarted,file:///android_asset/www/index.html)
12-23 10:20:51.641: D/JsMessageQueue(20745): Set native->JS mode to OnlineEventsBridgeMode
12-23 10:20:51.681: I/GATE(20745): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
12-23 10:20:51.681: D/CordovaWebViewClient(20745): onPageFinished(file:///android_asset/www/index.html)
12-23 10:20:51.681: D/CordovaActivity(20745): onMessage(onPageFinished,file:///android_asset/www/index.html)
12-23 10:20:51.781: D/CordovaActivity(20745): onMessage(spinner,stop)
12-23 10:20:51.781: D/TilesManager(20745): Starting TG #0, 0x4d803b88
12-23 10:20:51.781: D/TilesManager(20745): new EGLContext from framework: 4bfb6688 
12-23 10:20:51.781: D/GLWebViewState(20745): Reinit shader
12-23 10:20:51.841: D/GLWebViewState(20745): Reinit transferQueue
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/js/index.js: Line 80 : Received Event: deviceready
12-23 10:20:51.851: I/Web Console(20745): Received Event: deviceready:80
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_1 registered'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_1 registered':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_11 registered'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_11 registered':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable registered'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable registered':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'registered'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'registered':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_1 updated'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_1 updated':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_11 updated'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_11 updated':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable updated'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable updated':453
12-23 10:20:51.851: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'updated'
12-23 10:20:51.851: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'updated':453
12-23 10:20:51.861: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_2 registered'
12-23 10:20:51.861: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_2 registered':453
12-23 10:20:51.891: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_22 registered'
12-23 10:20:51.891: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:51.891: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_22 registered':453
12-23 10:20:51.891: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable registered'
12-23 10:20:51.891: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable registered':453
12-23 10:20:51.891: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'registered'
12-23 10:20:51.891: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'registered':453
12-23 10:20:51.891: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_2 updated'
12-23 10:20:51.891: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_2 updated':453
12-23 10:20:51.901: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_22 updated'
12-23 10:20:51.901: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_22 updated':453
12-23 10:20:51.901: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable updated'
12-23 10:20:51.901: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable updated':453
12-23 10:20:51.901: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'updated'
12-23 10:20:51.901: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'updated':453
12-23 10:20:51.901: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_3 registered'
12-23 10:20:51.901: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_3 registered':453
12-23 10:20:51.901: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_33 registered'
12-23 10:20:51.901: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_33 registered':453
12-23 10:20:51.911: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable registered'
12-23 10:20:51.911: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable registered':453
12-23 10:20:51.911: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'registered'
12-23 10:20:51.911: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'registered':453
12-23 10:20:51.911: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_3 updated'
12-23 10:20:51.911: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_3 updated':453
12-23 10:20:51.911: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'product_33 updated'
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'product_33 updated':453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'consumable updated'
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'consumable updated':453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.queries !! 'updated'
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: store.queries !! 'updated':453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: queries ++ 'approved'
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: queries ++ 'approved':453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: store.trigger -> triggering action refreshed
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: store.trigger -> triggering action refreshed:453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 453 : [store.js] DEBUG: queries !! 'refreshed'
12-23 10:20:51.921: I/Web Console(20745): [store.js] DEBUG: queries !! 'refreshed':453
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 726 : InAppBilling[js]: setup ok
12-23 10:20:51.921: I/Web Console(20745): InAppBilling[js]: setup ok:726
12-23 10:20:51.921: D/CordovaLog(20745): file:///android_asset/www/plugins/cc.fovea.cordova.purchase/www/store-android.js: Line 726 : InAppBilling[js]: load ["product_1","product_2","product_3"]
12-23 10:20:51.921: I/Web Console(20745): InAppBilling[js]: load ["product_1","product_2","product_3"]:726
12-23 10:20:51.931: D/CordovaPurchase(20745): Num SKUs Found: 3
12-23 10:20:51.931: D/CordovaPurchase(20745): Product SKU Added: product_1
12-23 10:20:51.931: D/CordovaPurchase(20745): Product SKU Added: product_2
12-23 10:20:51.931: D/CordovaPurchase(20745): Product SKU Added: product_3
12-23 10:20:51.931: D/CordovaPurchase(20745): init start
12-23 10:20:51.931: D/CordovaPurchase(20745): Creating IAB helper.
12-23 10:20:51.931: D/CordovaPurchase(20745): Starting setup.
12-23 10:20:51.931: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:51.931: D/IabHelper(20745): Starting in-app billing setup.
12-23 10:20:51.941: W/PluginManager(20745): THREAD WARNING: exec() call to InAppBillingPlugin.init blocked the main thread for 19ms. Plugin should use CordovaInterface.getThreadPool().
12-23 10:20:51.941: D/IabHelper(20745): Billing service connected.
12-23 10:20:51.941: D/IabHelper(20745): Checking for in-app billing 3 support.
12-23 10:20:51.951: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:51.961: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:51.961: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:52.021: D/IabHelper(20745): In-app billing version 3 supported for com.moussawi.moussawiApp
12-23 10:20:52.021: D/IabHelper(20745): Subscriptions AVAILABLE.
12-23 10:20:52.021: D/CordovaPurchase(20745): Setup finished.
12-23 10:20:52.021: D/CordovaPurchase(20745): Setup successful. Querying inventory w/ SKUs.
12-23 10:20:52.021: D/IabHelper(20745): Starting async operation: refresh inventory
12-23 10:20:52.091: D/IabHelper(20745): Querying owned items, item type: inapp
12-23 10:20:52.091: D/IabHelper(20745): Package name: com.moussawi.moussawiApp
12-23 10:20:52.091: D/IabHelper(20745): Calling getPurchases with continuation token: null
12-23 10:20:52.091: D/IabHelper(20745): Owned items response: 0
12-23 10:20:52.111: E/IABUtil/Security(20745): Base64 decoding failed.
12-23 10:20:52.111: W/dalvikvm(20745): threadid=18: thread exiting with uncaught exception (group=0x40ded930)
12-23 10:20:52.111: E/AndroidRuntime(20745): FATAL EXCEPTION: Thread-13748
12-23 10:20:52.111: E/AndroidRuntime(20745): java.lang.IllegalArgumentException: com.smartmobilesoftware.util.Base64DecoderException: Bad Base64 input character at 0: 36(decimal)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Security.generatePublicKey(Security.java:70)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Security.verifyPurchase(Security.java:47)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.IabHelper.queryPurchases(IabHelper.java:864)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.IabHelper.queryInventory(IabHelper.java:562)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.IabHelper.queryInventory(IabHelper.java:540)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.IabHelper$2.run(IabHelper.java:635)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at java.lang.Thread.run(Thread.java:856)
12-23 10:20:52.111: E/AndroidRuntime(20745): Caused by: com.smartmobilesoftware.util.Base64DecoderException: Bad Base64 input character at 0: 36(decimal)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Base64.decode(Base64.java:518)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Base64.decode(Base64.java:446)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Base64.decode(Base64.java:392)
12-23 10:20:52.111: E/AndroidRuntime(20745):    at com.smartmobilesoftware.util.Security.generatePublicKey(Security.java:60)
12-23 10:20:52.111: E/AndroidRuntime(20745):    ... 6 more
12-23 10:20:52.192: D/CordovaActivity(20745): Paused the application!
12-23 10:20:52.192: D/CordovaWebView(20745): Handle the pause
12-23 10:20:52.192: D/WebView(20745): loadUrlImpl: called
12-23 10:20:52.192: D/webcore(20745):  CORE loadUrl: called
12-23 10:20:52.192: D/webkit(20745): Firewall not null
12-23 10:20:52.192: D/webkit(20745): euler: isUrlBlocked = false
12-23 10:20:52.982: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:59.339: I/Choreographer(20745): Skipped 427 frames!  The application may be doing too much work on its main thread.
12-23 10:20:59.369: D/CordovaActivity(20745): onMessage(spinner,stop)
12-23 10:20:59.379: I/brcm-gr(20745): [gralloc_lock]: new usage 0x133
12-23 10:20:59.519: W/egl_server(20745): Allocating storage 1x1 surface type 0x1
12-23 10:20:59.549: D/CordovaActivity(20745): CordovaActivity.onDestroy()
12-23 10:20:59.549: D/WebView(20745): loadUrlImpl: called
12-23 10:20:59.549: D/webcore(20745):  CORE loadUrl: called
12-23 10:20:59.549: D/webkit(20745): Firewall not null
12-23 10:20:59.549: D/webkit(20745): euler: isUrlBlocked = false
12-23 10:20:59.549: D/CordovaWebView(20745): >>> loadUrlNow()
12-23 10:20:59.549: D/CordovaPurchase(20745): Destroying helper.
12-23 10:20:59.549: D/IabHelper(20745): Disposing.
12-23 10:20:59.549: D/IabHelper(20745): Unbinding from service.
Moussawi7 commented 9 years ago

Hi @j3k0 , @ozexpert , the issue that the billing key (sent as parameter) is not set for billing_key_param, so you can fix it by replacing $BILLING_KEY found in app/res/values/billing_key_param.xml by the Base64-encoded RSA public key value. and it will work fine.

up9cloud commented 9 years ago

I have the same issue toooo. The reason is that plugin.xml line 45 been commented. this will cause cordova plugin add --variable BILLING_KEY="xxx" not work. so need manually adding the BILLING_KEY to the /plugin/android.json.

j3k0 commented 9 years ago

According to Cordova's manual it's possible to make a variable optional by not specifying the preference tag. Maybe it's a recent feature?

On Wed Dec 24 2014 at 10:43:23 AM up9cloud notifications@github.com wrote:

I have the same issue toooo. The reason is that plugin.xml line 45 been commented. this will cause cordova plugin add --variable BILLING_KEY="xxx" not work. so need manually adding the BILLING_KEY to the /plugin/android.json.

— Reply to this email directly or view it on GitHub https://github.com/j3k0/cordova-plugin-purchase/issues/103#issuecomment-68040508 .

drbeermann commented 9 years ago

I'm still having issues with this. Has anyone been able to get the current code to work? The suggested changes are not working for me. 3.10.1 has been getting pulled in for me with new builds so reverting back to the behavior in 3.9.1 works, but it's a bit of a pain.

agamemnus commented 9 years ago

drbeermann: right... same problems here.

macfam commented 9 years ago

I am still having these issues as well.

Reverting back to 3.9.1 did not work for me since I am using Phonegap Build with the Billing Key as a parameter.

jambots commented 9 years ago

I am also having the crash on store.refresh() after a test purchase has been made. Is there a way to determine using the console that my billing key has made it to the plugin? In PhoneGap Build I am adding the parameter like so: <gap:plugin name="cc.fovea.cordova.purchase" source="plugins.cordova.io"> <param name="BILLING_KEY" value="MIIB...AQAB" /> </gap:plugin>

CodeHunger commented 9 years ago

I've found a solution @ #123

vtntimo commented 9 years ago

Just repeating what's being said, but this did work for me:

Edit file platforms/android/res/values/billing_key_param.xml:

<?xml version='1.0' encoding='utf-8'?>
<resources>
    <string name="billing_key_param">$BILLING_KEY</string>
</resources>

to:

<?xml version='1.0' encoding='utf-8'?>
<resources>
    <string name="billing_key_param">$BILLING_KEY</string>
    <string name="billing_key_param">  MY BILLING KEY HERE  </string>
</resources>

Works with Cordova 3.6 + Crosswalk. This is merely a hack, which seems to be not working on some setups. I am guessing that Cordova has a bug with optional variable setting at plugin install. Maybe a possible fix would be to add the line:

<preference name="BILLING_KEY" />

to plugin.xml to make it mandatory? I am wondering does this break the plugin for those wanting to use only iOS in-app billing though..

rahmadid commented 9 years ago

Hi, for those of you who experience crash after purchase related to billing key, please install the plugin from the git address. Don't install from plugin registry, it seems that the registry hasn't been updated with the latest code. It just works, I don't have to do any manual code changes. Hope that helps.

speige commented 9 years ago

@rahmadid can you post your working gap:plugin tag (with an obfuscated billing_key, of course), so we can see how it should be done with PhoneGapBuild? I'm not sure what you mean by "use the git address". Thanks.

rahmadid commented 9 years ago

@speige Sorry for the misunderstanding, my solution above is only for phonegap/cordova, not phonegap build. Thanks.

Alphatiger commented 8 years ago

changing the value in the android.json is working for me

cherniv commented 8 years ago

@vtntimo 's solution worked for me! Thanks, Timo

sarahsga commented 8 years ago

123 fixed it for me. @flexed 's answer worked for me perfectly! I have answered it too in hope that it might help.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.