Application gets re-started from a background service (JobInfoSchedulerService) after app is closed
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: AS Bumblebee 2021.1.1 Patch 2
- Firebase Component: Analytics, Crashlytics, Performance, Dynamic Links, FCM, Core, Remote Config,
- Component version: implementation platform(‘com.google.firebase:firebase-bom:29.3.1’)
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Close app (remove from tasks), wait some seconds, new app process is started resutling in that the app is executed in the background.
This issue did not happen when I completely removed all Firebase SDK dependencies. So it looks like there is a connection between the SDK and the app wake up in the background after the app has been closed completely. I also did a quick investigation to check which component is responsible for this behavior. It looks like the Service com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService
is always started when the app is closed that results in a new app process which holds the app in the background.
2022-04-28 10:51:09.043 1621-1781/? I/ActivityManager: Start proc 31802:com.app/u0a342 for service {com.app/com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService}
Does one or more of the SDK components using this service?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Thanks for reporting, @sin-ka. I was able to reproduce the issue, furthermore, I tried isolating each library and it looks like
performance
might be the one using this service. I’ll notify an engineer and see what we can do here.Hi @sin-ka 2 things:
JobInfoSchedulerService
will not consume any resources and in the common case the host app should not be consuming any resources either(depending on the app).