moust / phonegap-xapkreader

Cordova plugin to access files in APK Expansion Files
13 stars 17 forks source link

Which versions of Cordova is this plugin compatible with? #24

Open lumierephoto opened 9 years ago

lumierephoto commented 9 years ago

Which versions of Cordova is this plugin compatible with?

I'm using Cordova 4.0 and can't get it working. I can upload the APK to the store and the expansion pack, but when I install it says "Download Failed"

moust commented 9 years ago

The plugin was not tested with Cordova 4.x but according to the changes between 3.x and 4.x versions I suppose it should work without too much pain. I'm interested to have a feedback if you or someone else succeed to do it.

For your problem, you can look to the console log when running the app to have more informations and error messages. For this kind of message it can be due to several errors with this states constants from IDownloaderClient class : STATE_FAILED_UNLICENSED STATE_FAILED_FETCHING_URL STATE_FAILED_SDCARD_FULL STATE_FAILED_CANCELED STATE_FAILED

You can try to manage this errors at bottom of the XAPKDownloaderActivity.java class file of the plugin.

lumierephoto commented 9 years ago

I'm not sure how to get a log when downloading from the Google play. Do you know how to do this?