cordova-plugin-client-certificate
cordova-plugin-client-certificate copied to clipboard
Android: class not found
Hi, I'm trying your plugin with cordova on android 6.2 platform + crosswalk 2.3.0. When I put example code to onDevice event, I get error "Class not found"
onDeviceReady: function (oEvent) {
console.log("device ready");
var success = function (message) {
console.log(message);
}
var failure = function (error) {
console.log("Error:" + error);
}
if (g_main_app.isRunningCordova()) {
clientCertificate.registerAuthenticationCertificate(cordova.file.externalDataDirectory.toString() + "crt.pfx", "password", success, failure);
}
;
}
console log:
Error: Class not found
does it work on android ?
Only iOS, you can see pull request with android implementation.
already discovered. I can confirm that mentioned pull request is working correctly. Could you please merge it ?
Dňa ne, 21. máj 2017 3:38 Mikel Sanchez Herrero [email protected] napísal(a):
Only iOS, you can see pull request with android implementation.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mwaylabs/cordova-plugin-client-certificate/issues/8#issuecomment-302000065, or mute the thread https://github.com/notifications/unsubscribe-auth/AGZyQNHEd4M7RQ352Q5J1m7-L5mVK1mIks5r6pZjgaJpZM4My1rj .
Also on Android Lollipop it generates the same error.
Error: Class not found.