Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Logs show "Message Cancelled" | sms no longer working for iOS

See original GitHub issue

First the Email composer plugin would not open the iPhones email and then href-tel would not launch the call like before. I found a fix for both of these!

  <access origin="mailto:*" launch-external="yes"/>
  <allow-intent href="tel:*" />

How ever it appears that <access origin="sms:*" launch-external="yes"/> does NOT do the trick for the sms plugin. I have tried different combinations and nothing seems to do the trick. The SMS app starts to open than it just closes abruptly and I get the “Message Cancelled” log in the console.

I can’t seem to find a fix for this. My iphone is iOS 9.3.2 and here are my Ionic settings…

Cordova CLI: 6.1.1 Ionic Version: 1.3.0 Ionic CLI Version: 1.7.14 Ionic App Lib Version: 0.7.0 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v4.4.4 Xcode version: Xcode 7.3.1 Build version 7D1014

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

enesaltinkayacommented, Mar 15, 2017

Also happens if the number is integer.

Make sure it is string.

sms.send(number, message, options, success, error);

andreszscommented, Sep 18, 2017

@nsfnd Thank you so much for that feedback, I had the same issue on iOS 10.3.3 and converting the number to string fixed everything. +10

Read more comments on GitHub >

github_iconTop Results From Across the Web

Read status of text messages not syncing - Apple Discussions
I am noticing text messages not showing as read on my iPad after I read it on my iPhone. I've done everything I...
Read more >
iPhone users can now edit and unsend text messages - NPR
Typo-prone texters, rejoice: The newest Apple iOS now allows users to edit – and even unsend – messages sent via iMessage.
Read more >
Message Blocking | T-Mobile Support
Message Blocking service lets you block unwanted text messages. ... appointment reminders, fraud alerts and more—we do not recommend blocking all messages.
Read more >
iMessage Not Working: 8 Simple Fixes | WhistleOut
Turn Off iMessage and Reboot Your Phone · Tap Settings · Select Messages · Toggle off iMessage. · Turn your iPhone off ·...
Read more >
What do I do I'm not able to receive my SMS verification code ...
Try sending an SMS message to your mobile number from another mobile phone to make sure that your mobile phone is able to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found