ranjitpandit / whatsapp-phonegap-plugin

MIT License
32 stars 12 forks source link

Whatsapp.send does nothing? #3

Open kartagis opened 8 years ago

kartagis commented 8 years ago

Hello, In my code I've utilised cordova.plugins.Whatapp.send("112233"), but all I get is Sending whatsapp : 112233. How do I open a chat window with the said number if it's not a contact? Or is that not possible?

sombriks commented 8 years ago

@kartagis i`ve tried here with an android phone.

the point is, you must provide the exact number the person used to join whatsapp.

any number misplacement and it will fail silently, telling me that the contact isn`t on whatsapp

still need to test on ios.

maybe this can help to either correct the problem or fork the project: http://stackoverflow.com/questions/21451668/add-whatsapp-function-to-website-like-sms-tel