Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: class not found #8

Open
rchovan opened this issue Apr 4, 2017 · 3 comments
Open

Android: class not found #8

rchovan opened this issue Apr 4, 2017 · 3 comments

Comments

@rchovan
Copy link

rchovan commented Apr 4, 2017

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 ?

@misanche
Copy link

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

@rchovan
Copy link
Author

rchovan commented May 21, 2017 via email

@AppleInside
Copy link

Also on Android Lollipop it generates the same error.

Error: Class not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants