I created an app with App Inventor and Web Viewer and when I click on the WhatsApp API icon I get the error
net::ERR_UNKNOWN_URL_SCHEME
Can anyone help me resolve this?
- Chek js is enable
- Use url properly formatted:
Example URL:
https://wa.me/1234567890?text=Hello
(official WhatsApp API)
or
whatsapp://send?phone=1234567890&text=Hello
(deep link)
If you want to open whatsapp dm using phone number, you can use activitystarter component:
I assume your url is like whatsapp://send?phone=12345678907text=hi
so this block should work:
Hi! nimafr. I created an app with App Inventor. It displays a webpage through a web viewer. The WhatsApp API icon is on the webpage, but when I try to open it through the app I created, it gives the error ERR_UNKNOWN_URL_SCHEME. Can you help me resolve this?