Android specific replication using WorkManager

Description

In order to avoid Android's draconian battery saving tactics, replication should be scheduled using Android's WorkManager.

Android devs should be discouraged from using continuous replication, ever, because it won't work.

The intention of continuous replication is that the local DB is kept up-to-date, "in the background", without user intervention. That kind of describes a WorkManager task.

I can see very specific uses of continuous integration, while an app is in the foreground. I think, for instance, of apps supporting ticket-takers or something like that. In those cases you won't need a foreground service.

When the app is backgrounded, I think the WorkManager will provide the behavior that most devs expect.

Activity

Show:

Blake Meike January 23, 2023 at 11:23 PM

Committed

Blake Meike March 7, 2022 at 7:06 PM

just added this to the Helium release features (yaaaa!!!)

Blake Meike August 28, 2019 at 9:40 PM

This should go in the same extension library as ParcelableDictionary

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 7, 2019 at 11:03 PM
Updated October 17, 2023 at 7:50 AM
Resolved January 20, 2023 at 5:50 PM
Instabug