In my Xamarin app there is have on a function to call web versions of e-commerce.
after the user views product details in the catalog and decides to place an order, they have to click on "Order Now" button and it will trigger Whatsapp message to the seller.
But after click it will popup error for cleartext permissions:
Then I add all the related Whatsapp URL in network_security_config as below:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">wa.me</domain>
<domain includeSubdomains="true">whatsapp.com</domain>
<domain includeSubdomains="true">whatsapp://send</domain>
</domain-config>
</network-security-config>
After that its come out this error:
What can I do to have webview for this e-commerce function and place an order will direct to Whatsapp message to send to the seller?