cordova-plugin-client-certificate icon indicating copy to clipboard operation
cordova-plugin-client-certificate copied to clipboard

Android: class not found

Open rchovan opened this issue 8 years ago • 3 comments

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 ?

rchovan avatar Apr 04 '17 13:04 rchovan

Only iOS, you can see pull request with android implementation.

misanche avatar May 17 '17 06:05 misanche

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 .

rchovan avatar May 21 '17 05:05 rchovan

Also on Android Lollipop it generates the same error.

Error: Class not found.

AppleInside avatar May 23 '17 12:05 AppleInside