intel / APKexpansion

5 stars 12 forks source link

Not working with Intel XDK #8

Open T-rav opened 8 years ago

T-rav commented 8 years ago

I have been trying for the past two days to get this plugin working with Intel's XDK IDE. I am building against cordova 5.1.1, yet the darn plugin never works as expected.

I can build the app and upload it and the expansion pack via the app console. I can then install the app and it will properly pull the expansion down. I have verified this by looking at the file system. But when I try to access resources within the expansion pack, the plugin never finds it.

There are a two major issues I am having:

1) The plugin variables are not passed from XAPKReader to the XAPKDownloaderActivity class. I have added logging and I find nothing is ever passed through. It always looks for mainVersion 1, the default.

2) Since it cannot find the expansion on disk it attempts to download, this screen always freezes because the plugin cannot run the XAPKDownloaderService file. I just see errors in the log about how this service cannot be found.

And when I switch to cordova 4.1.2 to see if it is an issue with Cordova 5, the app will not compile due to missing classes in the AndroidLibrary folder. Hence I appear stuck to using cordova 5.