Synchronizing adapters

I have an application where I use a SyncAdapter to collect some user data and send it to my server (an activity tracking application that periodically syncs data with the server). I put it to work every 4 hours and everything was fine. However, 2-3 weeks after launching the app, I suddenly realized that syncing was not taking place for 2 days (even longer on some devices) I checked adb shell dumpsys content

and I didn't find any entries there for periodically syncing my application. Previously, the entry looked like this:

JobId: 102971, MyApp u0 (com.my.package), com.my.package, PERIODIC, reason: Periodic, period: 14400000, flexMillis: 576000
owningUid=u0a307 owningPackage=com.my.package

      

Now there is no.

Please tell me if it's possible that Android canceled my periodic syncing for some reason?

This issue occurred on Samsung Galaxy S7, S8, S8 + phones, so it might be a Samsung issue.

+1


source to share





All Articles