Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open whatsapp and start to chat with a number #133

Closed
novonimo opened this issue Dec 6, 2020 · 1 comment
Closed

open whatsapp and start to chat with a number #133

novonimo opened this issue Dec 6, 2020 · 1 comment

Comments

@novonimo
Copy link

novonimo commented Dec 6, 2020

Thanks for your great package. I'll hope it's installed more and more every day with all the great features.

I want to trigger a button to open the "Whatsapp" application and transfer the user to a specific number and the user just fills in the message. how can I use that?

somethings like :mailto option.

@novonimo novonimo changed the title open whatsapp and transfer to a number open whatsapp and start to chat with a number Feb 21, 2021
@novonimo
Copy link
Author

I've found the solution:

SendIntentAndroid.openAppWithData('com.whatsapp', 'https://wa.me/129123456789').then(() => {});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant