I do not understand the Send SMS plugin


#1

Please help me understand how to send SMS with Ionic on my Android. I do not know if you need any permission to send SMS. If you need adjustments, I can not run the examples of the plugins listed below:

http://ngcordova.com/docs/plugins/sms/


http://www.tutorialspoint.com/android/android_sending_sms.htm

Cordova Example – Sending SMS Messages

The SMS working would not be a bug in Ionic?


#2

I wrote a whole article for you, find it here.

I wrote this tutorial from the Android perspective, no permissions were required, everything is configured automatically, just reuse my code.


#3

Hi @Gajotres,

Today I managed to send sms to my device.

My plugin list is it:

$ ionic plugin list
com.ionic.keyboard 1.0.4 "Keyboard"
com.jsmobile.plugins.sms 0.0.1 "sms"
cordova-plugin-console 1.0.1 "Console"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-splashscreen 2.1.0 "Splashscreen"
cordova-plugin-whitelist 1.0.0 "Whitelist"

#4

I hope everything went well? Were you satisfied with provided tutorial?


#5

I do not know, I did just for testing.
I still have not tested sending SMS through your tutorial, however I will also check.


#6

here’s a tutorial on how to create an application for buying public transport tickets via SMS: http://www.coding-dude.com/wp/mobile-apps/ionic-app-tutorial-create-a-mobile-app-for-purchasing-public-transport-tickets-via-sms/


#7

First, we need to install Cordova plugin command in CLI.
I hope that below link helpful to you.