-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
With forceWebView: true on Android, I'm getting a blank white page. This is the code I'm using:
new RaisedButton(onPressed: _launchURL, child: new Text('Share your feedback'),),
_launchURL() async {
const url = 'https://brianrose.typeform.com/to/NmGg1a';
if (await canLaunch(url)) {
await launch(url, forceWebView: true);
} else {
throw 'Could not launch $url';
}
Without forceWebView: true, on Android the survey opens in a new Chrome window and works as intended, and on iOS it opens in WebView also as intended. But with forceWebView: true, my Android app opens a blank white screen. Is it a permissions issue?
Expected: Open survey in WebView.
Actual: App opens a blank white screen.
Device: Pixel XL running Android 8.1.0
My app is at https://play.google.com/store/apps/details?id=com.brianrose.botornot and the survey appears on the final screen (ScorePage).
Discussion on Google Groups at https://groups.google.com/forum/#!topic/flutter-dev/9orHejC4sA8
Metadata
Metadata
Assignees
Labels
packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.