cordova-plugin-crosswalk-certificate
v2.0.1
Published
Cordova plugin to enable the use of untrusted (self-signed) SSL Certificates with Crosswalk.
Downloads
15
Maintainers
Readme
Cordova Plugin Crosswalk Certificate
Cordova plugin to enable the use of untrusted (self-signed) SSL Certificates.
Install
To use this plugin with cordova-android 3.x install v1.x, which is compatible with the crosswalk web view v10.x used with cordova-android v3.x
cordova plugin add [email protected]
To use this plugin with cordova-android 4.x install v2.x, which is compatbile with the new pluggable crosswalk webview
cordova plugin add [email protected]
You can install the latest build directly from git:
cordova plugin add https://github.com/danjarvis/cordova-plugin-crosswalk-certificate
Usage
Activate insecure certificates
cordova.plugins.certificates.trustUnsecureCerts(true);
Dectivate insecure certificates
cordova.plugins.certificates.trustUnsecureCerts(false);
Development
Running integration tests
execute the runIntegrationTests.sh
script for a specific platform:
PLATFORM='android' ./runIntegrationTests.sh
PLATFORM='ios' ./runIntegrationTests.sh