Closed 3llomi closed 4 years ago
are you returning "false" onStopJob()
@3llomi?
@adsonafonso yes i am returning false because i don't want to re-run the Job again
@3llomi https://github.com/firebase/firebase-jobdispatcher-android/issues/110 this seems related.
Need to call jobFinished(job, false)
. Let me know if this works for you
In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020. For this reason we are going to close all open issues and archive the repository. We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q). Existing apps that rely on FJD should continue to function as usual.
While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.
Thank you for taking the time to try the library and provide this feedback. We sincerely appreciate your effort and we apologize for not addressing it in time.
i am trying to cancel a Job when the user clicks on a Button my scenario is like this: a message received from FCM contains a URL . inside
onMessageReceived
the job will run and start downloading that filewhen the user clicks the cancel Button it should stop the Download Job
and here is the Singleton Class