Open rameznabel opened 4 years ago
This worked for me.
flutterWebviewPlugin.onUrlChanged.listen((String url) async {
if ( ! (url.startsWith("http:") )
{
flutterWebviewPlugin.goBack();
_launchURL(url); //use url launcher plugin
}
}
@deependra227 where should i put this code?
In void initState(){ }
@deependra227 I think I'm doing something wrong, can you please tell me
Remove async . check here.
@deependra227 yes it's working, thank you so much
Url schemes for applications intents not working, for example calling whatsapp://xxxx from web application from webview plugin renders error