It's possible to clear react-native webview cookie? when I replace to other view and back and mount webview again, it looks like the cookie still exist in the webview..
greetings
You can use react-native-cookies to manage your app cookies.
import CookieManager from 'react-native-cookies';
// clear cookies on webview will mount!
CookieManager.clearAll()
.then((res) => {
console.log('CookieManager.clearAll =>', res);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With