Git Product home page Git Product logo

Comments (3)

boyofgreen avatar boyofgreen commented on August 16, 2024

Thanks for reaching out. So i can see there being a problem if wrapper.js tries to execute on a cordova API before the api is loaded. Generally we recommend that you utilize the Cordova "deviceready" event to start any js execution that might call a cordova API. This when you know everything will be ready. Does this help your situation?

from manifoldcordova.

ABPGeorg avatar ABPGeorg commented on August 16, 2024

Helllo!
This is happening with just pointing to a website that does not contain any cordova code. And the applicatoins index.html and index.js are both pretty much empty (but I don't think the plugimn would use that as the start url points to a local dev server serving a normal html page).

Where / When does wrapper.html get called?
Thanks

from manifoldcordova.

ABPGeorg avatar ABPGeorg commented on August 16, 2024

I've been able to repro this 100% by setting up new project and adding the plugin and running windows 10 UWP build via command line.
Every time the problem is fixed as soon as I wrap the content of wrapper.js around a window.onload = function() function

from manifoldcordova.

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.