androidandroid-intentionic3ionic-nativeionic-plugins

How to Open Whatsapp app from other app with a specific contact in ionic 3?


I've developed an ionic 3 app. I am unable to open whatsapp from my app with a specific contact in ionic 3. i don't want to send or share any thing but only wants to open whatsapp in android & iOS from my app with a specific contact. Is there any way to open whatsapp? Till now i have implemented as below which is not working

window.open(`whatsapp:${+911234567890}`, '_system');

Any help much appreciate.


Solution

  • See it: http://phonegap-plugins.com/plugins/ranjitpandit/whatsapp-phonegap-plugin

    cordova.plugins.Whatsapp.send("yourNumber", sucessoCallback, errorCallback);