SMS API
app.sms
is the instance of SMS API
, which provide function to send sms
from your app.
to use this API
you need to this permission in your package.json
file
android.permission.SEND_SMS
A working example of SMS API
app.sms.send("123457890", "Hello this is from Android JS");
Methods
app.sms.send(number, message)
number
Stringmessage
String
An example of above code:
app.sms.send("123457890", "Hello this is from Android JS");