• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

workmanager

  1. C

    re-use workmanager instance between multiple unit tests

    Hello, Is there any way i can re-use an existing workmanager for application instances created by multiple tests?. My issue: i have multiple unit tests, my first test runs succesfully, next time onwards i face below error. W/eSync: Can not re-initialize work manager, Robolectric problem...
  2. professor_of_stupidity

    Apps Need to understand how to implement my idea into the app

    So I am developing an app as part of a group project. The app has to fetch some data (most importantly time for an alarm) from Cloud Firestore and then ring the alarm at whatever time the alarm is scheduled. This all should happen even if the app is not open right now. I know that I have to use...
  3. Damon Getsman

    PeriodicWorkRequest (work v1.0.1) is spawning 20 times every 15m in stead of just once, not sure why

    In the follow code excerpts, I am utilizing a BroadcastReceiver to start up a Service on device boot and/or package reload. This NotificationService is calling my Worker via PeriodicWorkRequest every fifteen minutes. Everything initially works as it is supposed to, until the NotificationWorker...
Back
Top Bottom