Skip to content

[webview_flutter] Catch and handle all HTTP errors codes (eg 404) to redirect to a custom error page #39502

@majicomajico

Description

@majicomajico

Use case

it is currently impossible to capture and manage HTTP status codes and avoid displaying the default page of the missing internet connection.

Proposal

I suggest to create a new property such as "onPageError" to allow an easy iterception of these status codes

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.p: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions