victorbonnet / flutter_web_browser

Plugin for flutter to open web page with Chrome Custom Tabs and SFSafariViewController
MIT License
62 stars 39 forks source link

Possible to detect URL changes? #24

Open seenickcode opened 3 years ago

seenickcode commented 3 years ago

Useful when the browser redirects back to an in-app page using URL schemes.

uitlaber commented 3 years ago

Up, need to close browser after success pay!

dariotrombello commented 3 years ago

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).

uitlaber commented 3 years ago

I used dynamic links :)

srinivasupadhya commented 2 years ago

https://github.com/victorbonnet/flutter_web_browser/issues/44#issuecomment-1127251195

seenickcode commented 2 years ago

FSYA: annoying related issue in Flutter itself: https://github.com/flutter/flutter/issues/103160