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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.