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
0 answers

Android - FirebaseJobDispatcher - contentUriTrigger does not work

I am building simple android app responsible for image encryption. This application should automatically detect images with sensitive data (documents or faces) right after it is stored on device and suggest to user to encrypt it using notification…
0
votes
1 answer

Scheduling Sequential Services

Is there any way within Android to schedule sequential services, similar to sending ordered broadcasts for BroadcastReceivers? What I mean is that I'm looking for something where I can start service A. Once service A completes, start service B.…
0
votes
1 answer

Firebase JobDispatcher : How to reschedule the same job?

I'm new to the JobDispatcher and so I'm not pretty sure whether my question makes sense or not. I have a requirement where I need to run some tasks periodically in the background (even if the App is not running). The task is not executing in a fixed…
doe
  • 971
  • 2
  • 11
  • 27
0
votes
0 answers

Firebase job dispatcher recurring job not working

I am scheduling a recurring job using firebase job dispatcher. But It is not executing. Job job = builder.setService(FetchGCMNotificationService.class) .setTag(FIREBASE_JOB_TAG) .setRecurring(true) …
0
votes
2 answers

Android: How can I get the time in seconds from now until 3AM Monday next week?

I'm currently trying to create a firebase JobDispatcher within my android app that will start a job around 3am on a monday, regardless of when the job is created. I have seen examples of using Joda-Time, the Period class and TemporalAdjusters, but I…
Roaby
  • 3
  • 2
0
votes
1 answer

How can I cancel the task of Firebase JobDispatcher

I have a Firebase JobDispatcher in my app that is set up to run an AsyncTask. The JobDispatcher is created: dispatcher = new FirebaseJobDispatcher(new GooglePlayDriver(getContext())) ; monitorEggJob = dispatcher.newJobBuilder() …
Sid
  • 563
  • 6
  • 23
0
votes
1 answer

Android Firebase Jobdispatcher not starting

Hi Android geeks over there, I am developing an application which uses 'com.firebase:firebase-jobdispatcher:0.8.5' to schedule jobs. But the jobs are not getting executed in the tested device. While I checked the dumpsys activity service GcmService…
Midhu
  • 1,647
  • 2
  • 18
  • 29
0
votes
1 answer

Firebase jobdispatcher triggering job once

I'm using firebase job dispatcher for making network calls lets say every 30 seconds, my service class: @Override public boolean onStartJob(JobParameters job) { getLocation(); return true; } and my job instance: Job job =…
0
votes
1 answer

Retrofit call with FirebaseJobDispatcher?

In my project I need to make a network call after every 30 minutes I start my app. For network call, I am using Retrofit. After searching a while I came to know about FirebaseJobDispatcher. Is it the most convenient way to schedule using…
0
votes
1 answer

Schedule a task weekly using Firebase job dispatcher

Have tried job dispatcher for scheduling repetitive tasks on Hourly basis. Have written a code snippet for the problem but not sure if this is a correct implementation or not. Snippet is for scheduling a task at 11 Hour of Monday at every week. Any…
0
votes
0 answers

Can I use Firebase job dispatcher library using eclipse IDE

I came to know about firebase job dispatcher and I would like to know whether I can use this using eclipse oxygen. Right now am using eclipse for android development. If so then how can I get the jar file for this, or do i need something…
0
votes
1 answer

Firebase Job Dispatcher is not calling from Thread.setDefaultUncaughtExceptionHandler

I am creating a Firebase Job Dispatcher for sending Error crash report to the server. My Service is not starting with dispatcher's mustSchedule method. It might be due to I am starting my job, not on any activity. Here is my code... Code for start…
0
votes
1 answer

stopping notifications that I lost the TAG to

I know to cancel FirebaseJobDispatcher, the code is FirebaseJobDispatcher dispatcher = new FirebaseJobDispatcher(driver); dispatcher.cancelAll(); But unfortunately I scheduled some jobs already, and didn't save the drivers for those past jobs. So…
0
votes
1 answer

How to run service every 30 mins forever using Firebase JobDispatcher?

Till now, I have used AlarmManager to send HTTP request every 30 minutes. But recently, I faced warning in Google Play Console: Excessive Wakeups. When I read warning details, it said that AlarmManager waking devices up excessively. Then I…
Joe Rakhimov
  • 4,713
  • 9
  • 51
  • 109
0
votes
1 answer

How to know that do Firebase JobDispatcher Background job active now programatically.

How to know that do Firebase JobDispatcher Background job active now programmatically for a particular tag.