Closed rinnungirenthlei closed 9 years ago
Hi,
How did you add the plugin to your project, and how are you running the app? If you added the plugin for the whole project, you need to edit the www files for the whole project. If you added the plugin for each platform, it's attached to those platform www files.
Thanks! Jeff
Hi all, I am developing phonegap app with twilio for android. When i run the app in device, When calling Twilio.Device.setup i get this error in Android Device Monitor :
" Uncaught ReferenceError: Twilio is not defined"
I guess the plugin file tcPlugin.js is not linked to app. Dont know why. Added script type="text/javascript" src="js/tcPlugin.js to index.html. but same error. Do i have to add the twilio.min.js in index.html ?
Am i missing anything ?
UPDATE: I ran Cordova.exec(function(callback){alert('success');}, function(callback){console.log(callback);}, "TCPlugin", "deviceSetup", [token]);
Result : Class not found:202