flutter_web_browser icon indicating copy to clipboard operation
flutter_web_browser copied to clipboard

openWebPage doesn't return

Open passsy opened this issue 6 years ago • 0 comments

await FlutterWebBrowser.openWebPage(url: url); hangs forever

https://github.com/victorbonnet/flutter_web_browser/blob/2eb43f186f36bfe26c1a234951f6ec486daeb022/android/src/main/java/dev/vbonnet/flutterwebbrowser/FlutterWebBrowserPlugin.java#L42-L53

result is unused and never completes the platform channel call.

It should at least result.success("launched") be called after successfully launching the intent.

passsy avatar Oct 28 '19 00:10 passsy