agamemnus / cordova-plugin-xapkreader

Easily access Google Play APK expansion file data.
32 stars 55 forks source link

Install problem #47

Closed webquali closed 7 years ago

webquali commented 7 years ago

When I install plugin I have empty android

I don't have added any plugins parameters.

Where problem? android.txt

agamemnus commented 7 years ago

I don't understand. This isn't enough info to know the main problem.

webquali commented 7 years ago

Ok I try explain more.

In file readme for this plugin in section "#Completing Installation" writed:

4c) In android.json, look for and modify com.test.expansion and YOUR_GOOGLE_PLAY_LICENSE_KEY in this text: "res/values/xapkreader.xml": { "parents": { "/*": [ { "xml": "<string name=\"xapk_expansion_authority\">com.test.expansion</string>", "count": 1 }, { "xml": "<string name=\"xapk_google_play_public_key\">YOUR_GOOGLE_PLAY_LICENSE_KEY</string>", "count": 1 }

But when I do cordova plugin add https://github.com/agamemnus/cordova-plugin-xapkreader.git#cordova-5.3.1 I don't have in file "android.json" this text. More clearly?

agamemnus commented 7 years ago

Well, is this for 5.3.1?

webquali commented 7 years ago

yes for 5.3.1 and 5.0 the same problem

agamemnus commented 7 years ago

Idk. Should have worked. Try a new project?

webquali commented 7 years ago

I tried create new project have the same result.

cordova -v: 6.1.1 cordova platform ls: android 5.1.1

agamemnus commented 7 years ago

6.1.1 won't work!

agamemnus commented 7 years ago

I will try another effort to update this in a few days, including contacting Google about it. Until Google updates the libraries, it will constantly break.

webquali commented 7 years ago

Will be good. I will wait news from you.

TarcisioYes commented 7 years ago

Oh man, I can not wait for this plugin work in cordova 6.2.0. I could not find another solution for reading my expansion file (zip). Do you have any plans for that?

[sorry for my english]

agamemnus commented 7 years ago

Yes, sorry about the delay.

You can set up a caching system and have the user download your files from a CDN, after they download the base app.

agamemnus commented 7 years ago

Now works in 6+. Closing.