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

Remove pin option? #50

Closed
ssilverr opened this issue Nov 19, 2018 · 2 comments
Closed

Remove pin option? #50

ssilverr opened this issue Nov 19, 2018 · 2 comments

Comments

@ssilverr
Copy link

Hi!

I was wondering what can you do, once you set the pin code and want to remove it later. I used Keychain.resetGenericPassword, but the hasUserSetPinCode still returned with true, even though the pin code i set no longer worked :/

Would it be possible to one more option to pinSatus ('reset') ?
I will try yo look into it in the meantime

@jeremy-farnault
Copy link
Contributor

Hi,

I've just added a function in v1.8.0 to delete the PIN code :).

import {deleteUserPinCode} from '@haskkor/react-native-pincode'
deleteUserPinCode()

Thanks for the idea 👍

Cheers,
Jeremy

@ssilverr
Copy link
Author

Sweet! Thanks for the quick work! 👍

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