Skip to content

incognito property does not respond to false or null #1143

@bobsmits

Description

@bobsmits

Bug description:
When setting the incognito property to false or null the webview acts as if incognito is true. At least cookies are not remembered. When setting incognito to undefined it works as expected.

To Reproduce:

          <WebView
             source={{ uri: urlwithcookies }}
             sharedCookiesEnabled={true}
             incognito={false}
           />

Expected behavior:
When incognito is set to false or null it remembers my cookies.

Environment:

  • OS: Tested on android
  • OS version: -
  • react-native version: 0.60.5
  • react-native-webview version: 8.0.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions