riverpod
riverpod copied to clipboard
Providers shouldn't be paused if listened using ref.listen when a Flutter app is paused.
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.