I have used the https://github.com/cordova-sms/cordova-sms-plugin plugin to send SMS through ionic android app. The problem is that it opens the native android SMS messaging app to send it. I want that my app sends SMS without opening any other app.
Thanks for this - the documentation on the plugin is lacking the explanation for the āintentā parameter - this make sense, so thanks for clarifying.
Hi! I am trying to use the sms plugin, but itās not working. Do you mind offering some help?
I followed everything on github and put the two pieces of code in the following spots: the HTML went into my view, and the JAVASCRIPT went into my app.js ionic file after this line: ā$urlRouterProvider.otherwise(ā/tab/homeā);ā.
Nothing seems to be working. I also went onto github and cloned the cordova-sms-plugin-test, which also doesnāt work, even after I uploaded the file to my ionic viewer on my phone.
First of all, thanks for your precise explanation.
I need to implement a āPanic Buttonā on a Cordova/Ionic app. The user creates up to five contacts (name, mobile number) in the app. These contacts should receive a default SMS message when the user presses the panic button.
I was told that this cannot be done because Android and IOS directives disallow an app to send this kind of messages, so after the app is built and installed, this wouldnāt work.