I am a little unsure how FirebaseJobDispatcher
(JobScheduler) is suppose to work. What I want it for when a user loses internet connection then gets connectivity again for my app to run and do a sync to check for content updates upon regaining connection.
I know we should not be using Connectivity change broadcast listener and use JobScheduler but it seems that JobScheduler is more of a smarter AlarmManager where it will run even if there was no connectivity change (which I don't need).
Is this the case or am I misunderstanding how it works? If not is there something that will only fire when the user regains internet connection?