Ido Flax
12/28/2023, 12:25 AMIdo Flax
12/28/2023, 12:29 AMWorker result SUCCESS for Work [ id=..., tags={ androidx.glance.session.SessionWorker } ]
Digging in the code, i see it has these unconfigurable timeout values:
internal data class TimeoutOptions(
val initialTimeout: Duration = 45.seconds,
val additionalTime: Duration = 5.seconds,
val idleTimeout: Duration = 5.seconds,
val timeSource: TimeSource = TimeSource.Monotonic,
)
So how do i get around these?
I’m assuming i should trigger an update for the widget periodically from the main app using a coroutine worker?Summers Pittman
01/02/2024, 6:00 PM