Sombriks
Sombriks

Reputation: 3622

cordova app to start whatsapp

I did a few researches yet either the answer is outdated (cordova changed a lot since the answer) or in unanswered.

This is what i need:

I have a phone number on html page which is parte of a cordova app.

All that i need is to know how to send this number to whatsapp so either te user can add the number as contact and therefore be able to be prompted to send a message or simply open the message dialog.

Such behavior need to work on android and on ios too.

Any guidance is welcome.

Upvotes: 0

Views: 1481

Answers (1)

Gandhi
Gandhi

Reputation: 11935

I guess you are basically looking for sharing the data from your app to an other app (in this case whatsapp). I believe, social sharing plugin should help you out in this case which lets your share link, text and images to apps like facebook, whatsapp etc..

Please look at the official social sharing plugin link for more info. Hope it helps.

Upvotes: 1

Related Questions