-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Clear Cookies on Webview - or log in with another account #169
Comments
Sorry, I don't have time to fully add this feature right now, but there is some unused code: Android;
iOS: react-native-spotify/ios/RNSpotifyAuth.m Line 106 in 5dfce85
Try messing with those and maybe adding calls to them in the clearSession functions. |
You can also use the |
Thanks @lufinkey. I will look into it, if I do find a solution, i will share it. Also, I have tried using |
@afmire877 sorry for the late response on this. You can actually set a non-persistant website storage on WKWebView on iOS. This will prevent it from persisting cookies. There's no option for this in the module though so the module would have to be tweaked to account for it |
Hi @lufinkey,
Thanks for the amazing work on the package. I found it super helpful.
I am having an issue on clearing cookies and logging in with another user when I log out.
So when I log out, the webview remembers the previous user and automatically logging me in with old account.
Also, I have logged in with a user that is not premium, I cannot go back. I am stuck.
I am have been pulling my hair with this problem. I looked into the Native Module, I see nothing.
I cannot seem to find the method that will clear the WebView so I can log in with an other account.
I am using
"react-native": "0.61.5"
"rn-spotify-sdk": "^1.2.14"
The text was updated successfully, but these errors were encountered: