# SendTextMessage function not working properly

**URL:** <https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532>\
**Category:** Questions about Thunkable X\
**Created:** [July 4, 2019, 10:58am UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532 "2019-07-04T10:58:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/steveh/32/37062_2.png) [@steveh](https://community.thunkable.com/u/steveh)\
**Post date:** [July 4, 2019, 10:58am UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/1 "2019-07-04T10:58:53Z")

</div>

So…Im trying to enable a contact feature on my app where a user can send an sms at the click of a button, requesting a call back. I have set this up in my app using the share SendTextMessage function…I have inputted all the details such as the mobile phone number, including country code…ie, +61 12345678, and an autofilled text for the message. And it looks great and works great on the Thunkable live test app!  
But…  
When I build the app and test it as a stand alone and not using the live test app, it only seems to work on Android. iOS will not activate the function at all. The button presses, and you can see it engage, but it will not execute the command to open the default “message app” to send the message. Any ideas welcome as I’m getting nowhere fast on this one! Thanks.

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 4, 2019, 12:01pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/2 "2019-07-04T12:01:34Z")

</div>

Hi there,  
Can you take a screenshot let us know more? 😊😊

---

<div class="post-metadata">

**Author:** ![steveh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/steveh/32/37062_2.png) [@steveh](https://community.thunkable.com/u/steveh)\
**Post date:** [July 4, 2019, 12:05pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/3 "2019-07-04T12:05:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/5453a13470ba7135a44cbfe2c5c29c015a8d4133.jpeg)  
The CallNowButton, SendEmail and WebsitButton blocks all work perfectly fine across both operating systems. It is just the CallBackButton that is my issue.

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [July 4, 2019, 12:41pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/4 "2019-07-04T12:41:51Z")

</div>

Hello there! 👋  
Welcome to the Community 🎉

> [@steveh](#):
>
> It is just the CallBackButton that is my issue.

Copy the phone number from the call block, and paste the text in callback block.  
This may refresh the message number…

Hope it helps 😄

---

<div class="post-metadata">

**Author:** ![steveh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/steveh/32/37062_2.png) [@steveh](https://community.thunkable.com/u/steveh)\
**Post date:** [July 4, 2019, 12:56pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/5 "2019-07-04T12:56:47Z")

</div>

Thanks @kartik_old. The call now button is a landline, and the call back is a mobile. Having said that I have deleted the block entirely, exited the web page, and reinstated it later, and it still has the same problem unfortunately. I will persevere! It has been suggested to remove the “+” from the number, so I am in the process of that mow. Thanks.

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [July 4, 2019, 7:53pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/6 "2019-07-04T19:53:36Z")

</div>

Hi there,

Two things:

- Number format: Have you removed any brackets or dashes from the number? Is it in international format? Does it work if you remove the + from the beginning?

- Alternative method: have you tried using the SMS URI with an ‘open link’ block?  
 ![smsuri](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/1/b182fdd5f130bc4d916c3f3a948e336d065bd4e0.png)

---

<div class="post-metadata">

**Author:** ![steveh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/steveh/32/37062_2.png) [@steveh](https://community.thunkable.com/u/steveh)\
**Post date:** [July 5, 2019, 1:29am UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/7 "2019-07-05T01:29:20Z")

</div>

Hi @jane…so the suggested block code above works on the iphone iOS which is great, but now it does not work on Android. Unless I am doing something wrong…which could be the case!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:12pm UTC](https://community.thunkable.com/t/sendtextmessage-function-not-working-properly/131532/8 "2024-11-08T12:12:23Z")

</div>


