- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone
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?
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sara,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Amrita. I already managed to get it working. Regards
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page