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

I can't clear the storage! #3

Open
wangxpert opened this issue Aug 17, 2018 · 2 comments
Open

I can't clear the storage! #3

wangxpert opened this issue Aug 17, 2018 · 2 comments

Comments

@wangxpert
Copy link

wangxpert commented Aug 17, 2018

I am now using this component to save the user credentials after login.
In the development, I want to remove the storage and like I did with Storage component of react native, I simply removed the app from the phone and installed it again.
But it's still having the credentials in the storage.
Is there anyway to clear that ?

@oyyq99999
Copy link
Owner

oyyq99999 commented Sep 11, 2018

Are you using iOS? This lib utilizes iOS keychain as the backing storage, it's not associated with the status of the app, unfortunately I don't know how to clear the data elegantly. The data is Untouchable by any other apps so it's safe.

@Hopreeeenjust
Copy link

@zootopia106 It's the way iOS keychain works.
You should detect the first app start and clear the storage in your code manually.

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

3 participants