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

Added Pin.lock() method #1

Merged
merged 1 commit into from
May 28, 2023
Merged

Conversation

siripatnaik
Copy link
Owner

In current Pin plugin, we can only check the status of pin plugin and submit the password to get it unlocked. But once it is unlocked, even after restarting the app it is in unlock state only. To get it locked, we can use this lock() method.

To get the Pin plugin locked again, we have to use Pin.lock(context)

This PR fixes Metrological#11

In current Pin plugin, we can only check the status of pin plugin and submit the password to get it unlocked. 
But once it is unlocked, even after restarting the app it is in unlock state only.
To get it locked, we can use this lock() method
@siripatnaik siripatnaik merged commit f5985c5 into master May 28, 2023
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

Successfully merging this pull request may close these issues.

Pin.lock() method is not present to lock again after unlocking
1 participant