Skip to content

React native webView move to another page when wrong url enter #14095

Closed
@farrukhbashir

Description

@farrukhbashir

'I am using the webview when i enter the wrong url it will redirect to another white screen for a little moment show a pagenotfound screen then navigate to another screen.I am disable the warning then now when i enter wrong url it will redirect to white screen what is the solution i want to open pagenotfound screen as in our browser if pagenotfound..my code is

<WebView style={{flex:1,margin:20}}
ref={WebView_Ref}
source={{uri: this.state.go}}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions