I am using the SMS file plugin (https://github.com/floatinghotpot/cordova-plugin-sms) and I am getting SMS not defined.
I believe it has something to do with the plugin not being loaded correctly. I added it graphically, through Projects->Plugin Management.
When I debug to a real android device, I see the folders plugin and the sms plugin is there with the .js file in it.
Should the JAVA file also be uploaded? I do not find it. Could this be the reason why I am getting SMS not defined?
Also, do I have to reference sms.js in the index.html file?
Are you using third party plugin option? Which plugin source option you are using?
What are the steps you are following in order to add that plugin?
You can search inside the index.html that does it have any sms.js reference.
You don't have to add any JAVA files.
Please refer this link: https://github.com/cordova-sms/cordova-sms-plugin/issues/48