You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
In the attached sample, I have created a PeriodicWorkRequest to be running every 30 minutes
I have logged the DoWork in my AppCenter Analytics and I am getting the DoWork when I start the app but not every 30 minutes. For example, today I started the app and I got the DoWork logged but after that and until now (more than 2 hours) nothing is logged.
This is a function of the Android operating system. The time you specify is a minimum. The OS decides when to exec your task. All part of better battery management etc.
@jrahma just trying to be helpful. It does work in the background. Read the Android documentation and you'll get a better understanding of how Android does background work now. It might help to post some of your sample code. Without that, we don't know how you have implemented the Worker. I can let you know that I have successfully set up periodic tasks in Xamarin and it works as expected.
Hi,
In the attached sample, I have created a PeriodicWorkRequest to be running every 30 minutes
I have logged the DoWork in my AppCenter Analytics and I am getting the DoWork when I start the app but not every 30 minutes. For example, today I started the app and I got the DoWork logged but after that and until now (more than 2 hours) nothing is logged.
LocalNotifications.zip
Thanks,
Jassim
The text was updated successfully, but these errors were encountered: