- Home /
How to send sms in Unity Android Game?
I need to send sms in my Android game, how can i do that with Unity?
Answer by Doctor · Apr 26, 2012 at 06:46 PM
I do not think that Unity supports SMS. If you really need it, you could imbed a script that, when activated, would bring up an application to send an SMS.
As of right now, I do not think that Unity supports SMS (possibly because not all OSes that Unity is on natively support SMS (all the various Windows OSes, all the various Mac OS X OSes)
Answer by Doctor · Apr 26, 2012 at 05:09 PM
I do not think that Unity supports SMS. If you really need it, you could imbed a script that, when activated, would bring up an application to send an SMS.
As of right now, I do not think that Unity supports SMS (possibly because not all OSes that Unity is on natively support SMS (all the various Windows OSes, all the various Mac OS X OSes)
Answer by Chowdery · Aug 04, 2013 at 09:48 AM
Hey mate, I was scrounging around for an answer to this issue as well, managed to find the below quote which does the job perfectly :).
string mobile = "0437614201";
Application.OpenURL("sms:" + mobile);
Thanks for the tip but how to include the message in the sms? I'm more interested in adding the message from Unity
This code works for me, but I can't find a way to send multiple numbers...
string numbers;
string message;
string url;
url = "sms:"+numbers+"&body="+WWW.EscapeURL(message);
Application.OpenURL(url);
I found a solution for multiple numbers : Topic unity answers
Answer by smsapi · Nov 18, 2019 at 10:33 AM
The average open rate for transactional SMS is 98%, making it one of the more powerful ways to reach your contacts. It is an effective channel to send transactional messages to your customers like 2-factor authentication codes, order confirmations, shipping information, and more by simply connecting your system with a texting service using SMS API.
Answer by KiraSof · Sep 13, 2021 at 12:46 PM
Hello, i am Using Unity 2020.3 and this worked well for me!
Application.OpenURL("sms://number");
it opens the sms app on t
Your answer
![](https://koobas.hobune.stream/wayback/20220613070740im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Receive, get, read SMS from Andoid device 1 Answer
Is it possible to send an SMS without opening SMS Composer? (Android) 3 Answers
How to use Application.OpenUrl("sms") for multiple numbers? 2 Answers
Is it possible to send SMS from an action in Unity? (Mobile iOS or Android) 1 Answer
How to avoid Unity from reloading the game when completing a share function from android? 0 Answers