cordova-plugin-twiliovoicesdk
cordova-plugin-twiliovoicesdk copied to clipboard
Getting "Class not found" error while setup
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.
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
Hi, this issue came in android. I used [email protected] as mentioned from the above link but it didn't work for me.