riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

Providers shouldn't be paused if listened using ref.listen when a Flutter app is paused.

Open rrousselGit opened this issue 1 year ago • 6 comments

Related to https://github.com/rrousselGit/riverpod/issues/2645

Currently, Providers are paused when the app is in the background. This is usually the desired behavior. But when using ref.listen(provider), we likely should keep invoking listeners even when the app is in the background.

rrousselGit avatar Jun 23 '23 10:06 rrousselGit