React-native-webview: cookies are not getting cleared

Created on 13 Aug 2019  路  1Comment  路  Source: react-native-webview/react-native-webview

Bug description:
cookies are not getting cleared on IOS for android working perfect.

To Reproduce:
I used 'react-native-cookies' for clearing the cookies so that the app can clear all the cookies and allow the user to navigate to the login page.

Expected behavior:
cookies must be cleared and the user must have to navigate login page again.

Environment:

  • OS:
  • OS version:
  • react-native version:
  • react-native-webview version: 6.9.0
bug report

Most helpful comment

Hi was able to resolve this bug by adding below props.

useWebKit={true}
sharedCookiesEnabled={true}
cacheEnabled={false}

>All comments

Hi was able to resolve this bug by adding below props.

useWebKit={true}
sharedCookiesEnabled={true}
cacheEnabled={false}

Was this page helpful?
0 / 5 - 0 ratings