Giter VIP home page Giter VIP logo

Comments (9)

agamemnus avatar agamemnus commented on June 14, 2024

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.

HintOfLemon avatar HintOfLemon commented on June 14, 2024

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.

agamemnus avatar agamemnus commented on June 14, 2024

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.

HintOfLemon avatar HintOfLemon commented on June 14, 2024

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.

agamemnus avatar agamemnus commented on June 14, 2024

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.

HintOfLemon avatar HintOfLemon commented on June 14, 2024

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.

agamemnus avatar agamemnus commented on June 14, 2024

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.

HintOfLemon avatar HintOfLemon commented on June 14, 2024

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.

agamemnus avatar agamemnus commented on June 14, 2024

from cordova-plugin-xapkreader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.