Reputation: 679
what i want is to get the top bar when I launch URL inappwebview, where it shows Done Mobile.twitter.com aA and refresh icon
So I've tried
await launchUrl(
Uri.parse(url),
mode: LaunchMode.inAppWebView,
);
as well as downgraded url_launcher and tried this
launch(url,
forceWebView: true, forceSafariVC: true, enableJavaScript: true);
None seem to work,
I keep getting the website without the appbar with Done, refresh on top of it
Upvotes: 2
Views: 842
Reputation: 3312
I encountered the same problem when upgrading from using the deprecated launch(url) method to launchUrl(uri).
All it needs is to pass the LaunchMode as below.
launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication )
Upvotes: 3