Hi all,
I would like to delete cookies from a Webview to kill the session and enable a user logout, but can’t get this done with iOS.
On Android this code works, it does not work on iOS, it throws an error in Expo Snack Web. All using v42.0.0 and Expo Snack.
import RCTNetworking from 'react-native/Libraries/Network/RCTNetworking';
RCTNetworking.clearCookies(() => {});
Is there a way to enable a logout in iOS by deleting cookies from Webview?