2

I'm using the URL Launcher flutter plugin to launch a browser with a url. How do I bring the Flutter app back to focus after viewing the URL?

Pieter
  • 4,721
  • 6
  • 19
  • 18

1 Answers1

-1

When you use URL Launcher, you invoke and give control to the operating system. Only the user of the mobile device can navigate back to the Flutter app.

If you want more control, you should navigate to a custom native UI that you control, and which is part of the Flutter app itself. For an example of such interaction between Flutter UI and native UI see this: https://github.com/flutter/flutter/tree/master/examples/platform_view

Michael Thomsen
  • 469
  • 3
  • 4