Code Monkey home page Code Monkey logo

Comments (3)

dpogue avatar dpogue commented on May 29, 2024

We're in a transition phase of moving dependency specs from config.xml over to package.json.

I believe what you're trying to do will work if you specify your dependency in package.json:

"com.rsginc.mobilesurvey": "file://local_plugins/com.rsginc.mobilesurvey"

Unfortunately, during this transition phase, Cordova will try to mirror dependencies in both package.json and config.xml, so you might find that it keeps adding it back to config.xml with the wrong spec.

from cordova-lib.

csabbey avatar csabbey commented on May 29, 2024

Thanks for this. Any advice on keeping local plugins up to date?

We're getting white screens on app startup, and that seems to be caused by out-of-sync plugins, so I'm running a lot of extra build steps... could all that be caused by linking the local plugins?

I'm starting to think that local plugins just shouldn't be used until at least the next major version of Cordova. Do you know if local plugins will include versioning then?

from cordova-lib.

brodybits avatar brodybits commented on May 29, 2024

I would say that using local plugins is not supported functionality at this point.

I do think that we should drop using dependencies from config.xml in a new major release and we should improve the consistency with how npm works with dependencies. I forget if we are tracking this somewhere or not.

from cordova-lib.

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.