question-mark
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.

SMS app not open if used href="sms: 1234'"

See original GitHub issue

Ionic version: (check one with “x”) [ ] 1.x [X ] 2.x

I’m submitting a … (check one with “x”) [ X] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

I need to open sms native app. {{mobile}} getting dynamic number.

Expected behavior:

It should open native sms app with this number

Steps to reproduce:

Related code:

<a ion-button clear class="button-helpline" href="sms: '{{mobile}}'"><ion-icon name="sms"></ion-icon>

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hredwancommented, Dec 27, 2016

@kirandc can you share the config.xml file content? I think you are missing this line

<allow-intent href="sms:*" />

Check if you have that in your config.xml or not

0reactions
ionitron-bot[bot]commented, Sep 5, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SMS app not open if used href="sms: 1234'" #9796 - GitHub
Current behavior: I need to open sms native app. {{mobile}} getting dynamic number. Expected behavior: It should open native sms app with this ......
Read more >
How to pre-populate the sms body text via an html link
Consider using a class like a. sms-link instead of a[href^="sms:"] if possible. Save this answer. Show activity on this post.
Read more >
How do I bookmark the sms: scheme?
e.g., sms:1234?body=5678 in my case. I was trying to add such a bookmark in Google Chrome hoping to add a bookmark widget to...
Read more >
Receive all text messages on both Android…
Receive all text messages on both Android phone and iPad using one phone ... They don't want some messages to go to one...
Read more >
Prefilling an SMS on Mobile Devices with the sms: Uri Scheme
I am not seeing the pre-filled text if I don't pass the phone number, I don't know the phone number upfront, we want...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found