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

Setting timeForInactivity > 60000 causes Android to crash when screen is touched (and triggers timeout period reset) #17

Closed
NotifydLLC opened this issue Jul 11, 2019 · 2 comments

Comments

@NotifydLLC
Copy link

NotifydLLC commented Jul 11, 2019

This doesn't appear to be an issue for iOS which is odd. The error returned is:

"Uncaught Error: t.startWith is not a function."

@NotifydLLC NotifydLLC changed the title Setting timeForInactivity > 60000 causes Android to crash Setting timeForInactivity > 60000 causes Android to crash when screen is touched (and triggers timeout period reset) Jul 19, 2019
@jkomyno
Copy link
Owner

jkomyno commented Jul 23, 2019

Thanks for notifying this, I'm looking forward finding an alternative with a native timeout function, since I suspect there's a problem with how setTimeout() is implemented on Android.
Unfortunately I'm really busy at the moment with my Bachelor's but I aim to fix this before 15 August.

@jkomyno
Copy link
Owner

jkomyno commented Oct 11, 2019

You need to use a native timer, as specified in the new documentation. v1.0.0 now supports custom timers, so you can provide them to the library.

@jkomyno jkomyno closed this as completed Oct 11, 2019
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