Skip to content

danjarvis/cordova-plugin-crosswalk-certificate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

cordova certificate helper util

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 45.6%
  • Objective-C 40.8%
  • JavaScript 11.6%
  • Shell 2.0%