-
Notifications
You must be signed in to change notification settings - Fork 166
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
Run background tasks when the app screen is locked #371
Comments
Are you simulating events? |
Yes I am doing an api POST call in this code block.
|
Are you simulating events as directed in the readme? |
Yes I did this for iOS as directed in the read me. But this periodic thing is not working for me even in the Android during the screen is locked. |
Are you observing the device logs? |
No, I am not observing the device logs. Should it work even when the phone is locked? |
Observe your logs.
That’s what the word “background” in the plug-in’s name implies. |
Ok I will observe the device logs. But I tried with another device as well and it either didn't work. |
I suggest you install the /example app here in this repo. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
The background task execution does not work for me when the device is locked for both iOS and Android as well. (Screen lock).
This is my code.
The text was updated successfully, but these errors were encountered: