Git Product home page Git Product logo

Comments (2)

bradleyjames avatar bradleyjames commented on July 28, 2024

It's been a while since I've had to debug issues so I'm going to be rusty.

IIRC this would happen if there was a JS error either during loading of plugins or in the JS specified in CRIInjectFirstFiles. To track it down I'd start with a new project, see if the JS injected, and then introduce the other plugins one by one.

Also, let's say there is page loaded later on with inappbrowser, is there a way to inject cordova.js into that page as well?

I don't believe so. I haven't tried but by design the inappbrowser it doesn't have access to Cordova APIs.

From the inappbrowser doc:

The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs. For this reason, the InAppBrowser is recommended if you need to load third-party (untrusted) content, instead of loading that into the main Cordova webview.

from cordova-plugin-remote-injection.

bradleyjames avatar bradleyjames commented on July 28, 2024

Resolving for now. If you have more to follow up feel free to reopen.

from cordova-plugin-remote-injection.

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.