Skip to content

WebView for Flutter - support listen and reacting to URL changes #27729

@alsocalledchris

Description

@alsocalledchris

This looks possible but I can't work out the code to get it to work if it is - I want to listen to URL changes as the user interacts with the site - useful for OAuth login flows and reacting to redirects to custom URLs (e.g. at the end of the OAuth dance).

Is this possible via the current webViewController and currentUrl - I can't get it listen to the initialUrl but no subsequent url change.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions