iOS SMS intent


#1

Hi!
Is it possible to send a SMS from the app on iOS without exiting the app? I have tried the intent option but in doesn’t work.
My phone runs on iOS 8.3.

Thanks! :slight_smile:


#2

it may help:

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

Code:

// access multiple numbers in a string like: '0612345678,0687654321'
$cordovaSocialSharing
.shareViaSMS(message, number)
.then(function(result) {
  // Success!
}, function(err) {
  // An error occurred. Show a message to the user
});