Questions tagged [firebase-job-dispatcher]

The Firebase JobDispatcher is a library for scheduling background jobs in your Android app.

The Firebase JobDispatcher library provides a JobScheduler-compatible API that works on all recent versions of Android (API level 9+) that have Google Play services installed.

It is available for Android developers: https://github.com/firebase/firebase-jobdispatcher-android

A version for iOS developers is WIP: https://github.com/firebase/firebase-jobdispatcher-ios

159 questions
0
votes
1 answer

Run periodic job while a condition is satisfied?

I'm using the following code to make a job run every time there is available internet. What I want in addition is, after the service is triggered (due to available connection) I want that service to continue running g periodically (every 30 seconds)…
0
votes
2 answers

Is there a way to make periodic tasks have shorter delay?

I'm using firebase job dispatcher and I'm programming a simple periodic job that should run every minute or so when there is internet connection. I know that jobs don't run exactly on time because they wanted to improve the battery life and allow…
0
votes
1 answer

Firebase JobDispatcher Is the periodic service triggered when the screen is off?

I'm using activity recognition api and location using google play services and I'm aware of how battery consuming they are so I would actually be pleased if this is the case and the Job Service stops when the screen is on which limits the collection…
0
votes
2 answers

Service getting null as location

So, I have a JobService that is being called on background. However I need it to get the current location and send it to the webservice. The webservice is working great when I send static data. However getting the location is being a problem. The…
Diego Rivera
  • 403
  • 1
  • 5
  • 19
0
votes
1 answer

Attaching listener to FirebaseDb in FirebaseJobDispatcher

I am using Firebase Job Dispatcher to execute a periodic task that will execute every 15 mins and check for data in the firebase database and display a notification about the latest data. The issue I am facing is that, the listener isn't getting…
0
votes
2 answers

Scheduled JobService after device Reboots

Does scheduled JobService(JobScheduler api or firebase jobdispather) , which has not been executed due to specified conditions are not met automatically rescheduled after device reboots? Or we need to reschedule .
ak0692
  • 233
  • 2
  • 13
0
votes
0 answers

How to schedule a server call using FCM job dispatcher that executes everyday?

I've read that in order to optimize device battery I have to use FCM job dispatcher. My requirement is to send data to servers via a simple POST request to my servers everyday(once). Now should I use FCM dispatcher or Alarm Manager. If I have use…
rinik
  • 123
  • 8
0
votes
1 answer

Can i use Firebase JobDispatcher for triggering time specific tasks

I am developing an application where certain tasks as to be done in background at a specific time. Android developer docs suggests various methods. I know AlarmManager can be used for this purpose. But, I think, using AlarmManager in Android 6.0 in…
John
  • 8,846
  • 8
  • 50
  • 85
-2
votes
3 answers

How to synchronize Android database with web server database?

I am new to Android development and I am creating an app for practicing purposes, my app only retrieves data from the webserver and copies it into the SQLite database, but how do I know if there is new data that I don't have in my local DB or it has…
1 2 3
10
11