At every app start I enqueue periodic work using ExistingPeriodicWorkPolicy.KEEP, so that no additional work is queued if there is already a schedule.
Let's assume that in a future app update, I change the constraints or periodicity of the work, but keep the original uniqueName
.
will this change be ignored because the PeriodicWorkRequest
uses the same uniqueWorkName
?
Or will this not be a problem because all work for an app is cancelled when the app is updated?
What's the best approach here?