Giter Site home page Giter Site logo

nonameprovided / cordova-plugin-webview-checker Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 8.0 27 KB

Cordova plugin that checks which version of Android System Webview is installed.

License: MIT License

Java 59.91% JavaScript 40.09%
android cordova cordova-plugin webview

cordova-plugin-webview-checker's People

Contributors

nonameprovided avatar rickgbw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-webview-checker's Issues

feature: automatically detect WebView implementation on Android 7+

On Android 7+, the user can change the WebView implementation. From the Android 7.0 for Developers page:

You can choose your WebView provider by enabling Developer Options and selecting WebView implementation. You can use any compatible Chrome version (Dev, Beta or Stable) that is installed on your device or the standalone Webview APK to act as the WebView implementation.

This plugin could be more useful if it could detect that the user selected a different implementation, and open the play store for that implementation.

We need this because our users are hitting the Chrome 53/54 Certificate Transparency bug. We want to help these users update, but we don't know if we should open the store to the Android System WebView page (com.google.android.webview) or the Chrome page (com.android.chrome).

There's already an Apache-licensed implementation for this in the ct_workaround project.

How to replace webview on pre 7.0 devices

Isn't there a way to replace the webview package called by Cordova? That way the Android System WebView that exists on Play Store can be used or called by Cordova.... Its really frustrating to have come to such a stupid crossroad after spending months to develop a cordova app only to realize it doesn't work on pre 7.0 android devices.

Incorrect version published

The 1.0.0 (latest as of this issue) is released with the wrong version in the plugin.xml file:

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-webview-checker" version="0.9.2">

This throws an error, at least using cordova-android 7.1.1.

To fix, simply release a 1.0.1 version where the versions match in package.json and plugin.xml.

question: plugins is not defined

Hello,
I get this error. I added the script in the index.html file after all the scripts includes.

plugins is not defined

Any idea?

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.