I'm a little unsure of how FirebaseJobDispatcher
(JobScheduler) works . What I want when a user loses an Internet connection, then reconnects to my application to start and synchronizes to check for content updates after reconnecting.
I know that we should not use the broadcast listener to connect and use the JobScheduler, but it seems that the JobScheduler is a more intelligent AlarmManager, where it will work even if there are no changes in connectivity (which I do not need).
Is this so, or I donβt understand how it works? If not, is there something that will only work when the user restores the Internet connection?
tyczj source
share