cordova-plugin-twiliovoicesdk icon indicating copy to clipboard operation
cordova-plugin-twiliovoicesdk copied to clipboard

Getting "Class not found" error while setup

Open nithin-peter opened this issue 5 years ago • 2 comments

TwilioPlugin.Device.prototype.setup = function(token) { // Take a token and instantiate a new device object var error = function(error) { if(delegate['ondeviceerror']) delegate'ondeviceerror' if(delegate['onconnectionerror']) delegate'onconnectionerror' }

    var success = function(callback) {
        var argument = callback['arguments'] || new TwilioPlugin.Connection();
        if (delegate[callback['callback']]) delegate[callback['callback']](argument);
    }

    Cordova.exec(success, error, "TCPlugin", "deviceSetup", [token]);
}

Getting "Class not found" as error on error call back. Any solution for that.

nithin-peter avatar Jun 04 '19 13:06 nithin-peter

Hi, from Class Not Found, I'm going to guess this is on Android - here is a similar issue in another Cordova project - are you using any other plugins?

https://github.com/dealrinc/cordova-gmv-barcode-scanner/issues/5

jefflinwood avatar Jun 05 '19 00:06 jefflinwood

Hi, this issue came in android. I used [email protected] as mentioned from the above link but it didn't work for me.

nithin-peter avatar Jun 07 '19 06:06 nithin-peter