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
Why application not locked after opening? #30
Comments
I understand that the package uses the resume lifecycle event to execute the code. This event is fired when we switch to another app and switch back, or open the task switcher. But what is the point of locking an app, when you can bypass that by closing and opening the app again? 🤔 |
You are free to have a state locked by default on your app. |
Thank you for the hint. I can make app locked on first launch now:
|
One small question though, with the default state is locked, what else I should do for the callback |
I could do that by using
|
Nice find. I will see if I can not make a easier solution without adding too much complexity to the plug-in |
Hi, is there a reason this package doesn’t lock an app after launch? I’ve tried it and it just works when I switch to another app and come back. Can we make it work even when after we launch an app?
The text was updated successfully, but these errors were encountered: