Share article to WhatsApp via WebView


I would like if possible you can guide me and tell me why I figure an error when sharing an article on WhatsApp and that I am viewing it on a webview, I get an error net :: ERR_UNKNOWn_SCHEME

asked by Rodrigo 22.06.2016 в 18:55

1 answer


The scheme you have defined in your web page to open Whatsapp can not be recognized by that error:



The Custom URL scheme that should be defined on your webpage should be: whatsapp://send?text= , for example:

<a href="whatsapp://send?text=StackOverflow%20es%20Excelente!">Envia el mensaje: StackOverflow es Excelente!</a>

With this when you click, you will open the application, it will require a contact and you can send the desired message.

answered by 22.06.2016 в 20:01