Skip to content
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

Logout on IOS Device #20

Open
jonathanaccenture opened this issue Jan 23, 2020 · 1 comment
Open

Logout on IOS Device #20

jonathanaccenture opened this issue Jan 23, 2020 · 1 comment

Comments

@jonathanaccenture
Copy link

Hi, I have read on similar issue about logging out and the solution provided was to clear cookies using react-native-cookies. I have tried to use react-native-cookies and it is working perfectly on android. however on IOS device, even though the cookies are already emptied out, whenever I open up the login page (which automatically redirects me to azure login page upon component load) it somehow still detects the previously signed in user. Is there any idea on how to log out ? because this only happens in IOS devices. Thank you

@boganov
Copy link

boganov commented Mar 27, 2020

Use CookieManager.clearAll(true)
https://github.com/react-native-community/cookies#webkit-support-ios-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants