flutter_web_browser
flutter_web_browser copied to clipboard
Possible to detect URL changes?
Useful when the browser redirects back to an in-app page using URL schemes.
Up, need to close browser after success pay!
Use a webview if you really need that feature. It's not possible to do something like this with Chrome Custom Tabs for privacy reasons. If you need to return to the app after a successful payment and still want to use Chrome Custom Tabs you can try using deep links with this package: https://pub.dev/packages/uni_links (I'm doing that as well in my app).
I used dynamic links :)
https://github.com/victorbonnet/flutter_web_browser/issues/44#issuecomment-1127251195
FSYA: annoying related issue in Flutter itself: https://github.com/flutter/flutter/issues/103160