moust / phonegap-xapkreader

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

Suffering from conflicting providers. #11

Closed agamemnus closed 9 years ago

agamemnus commented 10 years ago

See: http://stackoverflow.com/questions/6273592/content-provider-install-failed-conflicting-provider-installing-content-provide

Trying to solve it atm...

moust commented 10 years ago

I presume you're talking about the psyon's fork version? So if I well understand the problem, the solution is simply to switch the android:exported attribute in the provider declaration to true, is that right?

agamemnus commented 10 years ago

No. This will not work. The provider names must always be unique. The only solution is to have unique provider names, or remove the tag and still have the code work somehow.

agamemnus commented 9 years ago

I ended up changing the provider name to a variant of my actual APK, plus .expansion added onto it... then changed a number of files to do that. Not a portable solution...