Comments (9)
In Cordova, the plugin's config.xml is used IIRC to add com.flyingsoftgames.xapkreader
to platforms/android/
and seed platforms/android/AndroidManifest.xml
, platforms/android/android.json
, and platforms/android/project
. So you need to tell it somehow to do this.
from cordova-plugin-xapkreader.
Thanks for the very quick reply!
So, if I understand what you're saying, I need a way to modify the plugin's config.xml? Since that's what modifies all the other files?
from cordova-plugin-xapkreader.
Well, hold on a second, what are you doing to install it? The installation should set everything up if you add the expansion authority and public key in the command line.
from cordova-plugin-xapkreader.
Ok, so the previous developer of this app went with Phonegap Build, which is an online service which allows you to upload the files that would normally be contained only within the www folder of a Cordova app, and it builds and compiles it into a downloadable apk in one go.
This means the only real files I have that I'm able to modify are all the www files and a config.xml file, where I can specify the plugins I want installed and Phonegap Build adds them for me during the compilation process. This means I can't add anything via cli, the only control I have is via that config.xml file.
from cordova-plugin-xapkreader.
I have used Phonegap Build before, just don't remember the details. Is there some way you can clear the build and have it rebuild or something?
You might want to look into reworking it with ionic.
from cordova-plugin-xapkreader.
Ok cool, I'll maybe try that, and just to be sure, since I've read different things all over the place, to access the expansion files, is it:
content://com.appname/location/img.png
? [<--- It's this one]
or
[REDACTED]
from cordova-plugin-xapkreader.
It's content://[XAPK_EXPANSION_AUTHORITY]/location/img.png
, so in your case it would be content://com.appname/location/img.png
.
from cordova-plugin-xapkreader.
Ok, so eventually I figured out that the problem was caused because of the Cordova version.
By upgrading from 6.2.0 -> 6.5.0 everything seems to be working fine.
Thanks again for the help and clarification.
from cordova-plugin-xapkreader.
from cordova-plugin-xapkreader.
Related Issues (20)
- Error Gradle "Could not resolve project" on compile HOT 13
- XAPKReader.downloadExpansionIfAvailable() makes status bar disappear HOT 13
- Issue when load image from OBB folder with dynamic image name. HOT 8
- OBB file on extSD HOT 69
- public API key HOT 3
- How to get upgraded video controls HOT 4
- Tips on Debugging HOT 4
- Build issues HOT 5
- Build Issue " unknown property cdvCompileSdkVersion" HOT 8
- Build failed - Could not resolve all task dependencies for configuration HOT 2
- Build failed - [email protected] HOT 7
- Unable to open content URL HOT 5
- Compile issues using api 27+ (probably 23+) and cordova android 7.1.1 HOT 4
- autodownload(question) HOT 2
- Failed to test remotely through the Google Playstore HOT 9
- Unable to download **cordova-plugin-xapkreader** Plugin HOT 6
- AndroidX (fix for sudden build failure - AAPT error resource not found)
- Not allowed to load local resource: content://com.example/assets/new.png HOT 25
- Not allowing to add android:exported="true" in xapkreader activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-xapkreader.