-
Notifications
You must be signed in to change notification settings - Fork 57
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
Not working on Android #12
Comments
I solved it using react-native-background-timer instead of the regular timer. |
@andreus3 Would it be useful if I provided a function to call to set the timer, that defaults to the current setTimeout? |
No solution for this yet? |
@zach-luman Please look at the project advancement, I'm performing a major refactor of the library in order to get a better API and support for custom timers like |
Hi, please check out the new version. You need to provide a custom timer to the library. In your case, just use any native background timer that works on Android too. |
Even though on IOS works ok, on android I get "Setting a timer for a long period of time".. warning.
And even if I make the timeForInactivity to 1 minute (which doesn't produce the error), it never triggers the onAction method with parameter false.
The text was updated successfully, but these errors were encountered: