Closed leovinsen closed 1 year ago
Sadly, that is not possible due to privacy reasons: https://stackoverflow.com/a/50536669/5894824 If you are able to find a way to do this anyway, you are free to open a PR, of course
@ThexXTURBOXx I see. It doesn't seem possible on iOS either for the same reasons. I guess I'll stick with normal WebViews to get this functionality.
Thanks for your response!
Is your feature request related to a problem? Please describe.
Firstly, thanks for the amazing package. It works well with multiple OAuth providers.
Though I'm wondering if it's possible to implement an
onUrlChanged
callback to listen to changes in URL? Reason being, sometimes the URL may contain error information that can be logged to help debug production errors. Currently if there's an error, it is displayed only in the WebView.Or sometimes user navigates to a wrong page and we'd like to close the webview and notify them.
Describe the solution you'd like
A callback with the signature
void Function (String)
that is called whenever currently active URL is changed.