In my iOS app , I would like to insert a text and write a “text” inside, then I would like a button to open whatsapp, choose the contact with which to chat reporting the “text” written before in my text.
Or is it possible to open an external application such as a whatsapp in a screen?
You can open the application.
“choose the contact with which to chat reporting the “text” written before in my text”. Try using the links below.
https://api.whatsapp.com/send?phone=Number
https://api.whatsapp.com/send?text=Message
https://api.whatsapp.com/send?phone=Number&text=Message
More details can be found in WhatsApp API
2 Likes
I would like the message to be the same as the text written on the “TextInput”. How can I do this?
It works!!!
Thank you ACTech!
Thank you so much
Please help me to same in call - sms - email
Add the “share” component to your project, it works really well for things like that.
Thank you for your response