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

How to detect Longpress of hardware button #45

Open
griotdonation opened this issue Jan 29, 2020 · 1 comment
Open

How to detect Longpress of hardware button #45

griotdonation opened this issue Jan 29, 2020 · 1 comment

Comments

@griotdonation
Copy link

griotdonation commented Jan 29, 2020

I’m trying to detect whether a user of my app is attempting to hard reboot their phone (iOS) in attempt to cheat the score in the app.
Once a long press is detected I will like to run some code. Is this possible?

@gabrielrodrigodesbesell

I need that same functionality. Any suggestion?

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