sms link on website create abritrary contact.

asked 2015-09-30 14:27:51 +0200

Krilivye gravatar image

Hello, while developping a webapp i found a potential bug on my jolla phone:

on  <a href="sms:?body=Test1">Test 1</a>

nothing happen

on  <a href="sms:whatever?body=Test2">Test 2</a>

A contact whatever is created.

Expected behavior: sms:?body="Test1" open message application with text already filled but without recipient.

edit retag flag offensive close delete

Comments

Small correction:

  <a href="sms:whatever?body=Test2">Test 2</a>

will not create a contact. It will open the SMS app w/ recipient and message text pre-filled. No new contact "whatever" is created at this time - however the user may chose to add "whatever" to her contacts by right-swiping from the message and selecting "save" or "link" from the pulley menu accordingly.

t-lo ( 2015-09-30 15:01:58 +0200 )edit

Our use case: send sms with link to app page. app page contains a link to text friends with prefilled sms messages.

Krilivye ( 2015-09-30 15:12:03 +0200 )edit