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

Doesn't Work On Pause #16

Closed
JeffreyLeeDave opened this issue Jul 10, 2019 · 2 comments
Closed

Doesn't Work On Pause #16

JeffreyLeeDave opened this issue Jul 10, 2019 · 2 comments

Comments

@JeffreyLeeDave
Copy link

So I tested this package out on an iOS simulator and console logged for an timeForInactivity of 10 sec. It works when the app is in the foreground but does nothing in the background. Is this intentional?

@jkomyno
Copy link
Owner

jkomyno commented Jul 23, 2019

Hi, this should be fixed using a timer different than the default setTimeout, as I've described in #19.
A new version of this package is expected to be released the 13th August 2019.

@jkomyno
Copy link
Owner

jkomyno commented Oct 11, 2019

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 pause too.

@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