-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Need a single event for Flip detection #20
Comments
it's not possible as per the current release, but I can push it out in the next release. |
Okay. Thanks. Any tentative date for the next release? |
I am planning to do it week by week basis i.e will try to push the next release this weekend. If you think you can can fix it yourself and would like to submit a PR, go ahead with that. |
@aritraroy I have updated the code and the new release fixes this issue. Please confirm and close this issue if it works as expected. |
Thank you, I will give it a try as soon as possible and let you know. |
I just saw your library, actually liked it and thought to give it a try.
After attaching a flip detection listener in my activity, I see that the events are continuously getting fired. Like,
in this code, I am getting continuous logs for "DEVICE UP" when the device is facing up and continuous logs for "FACE DOWN" when the device is facing down.
But my requirement is something different. If the device is facing up, it should just give one single onFaceUp() callback, and if the device is facing down it should just give one single onFaceDown() callback.
Is it possible with your library? If not, I will have to implement it myself. Just wanted to check if your library can do that or if you are willing to add it as an enhancement.
The text was updated successfully, but these errors were encountered: