Since we have background execution of dart code now, would it be possible to receive data notifications while the app is terminated?
Why is this issue closed? Is it possible to receive data notifications while app is terminated or am I the only one who has this requirement??
Any updates on this?
How to do that with Dart code, any example is there?
@msarkrish Take a look here: https://medium.com/flutter/executing-dart-in-the-background-with-flutter-plugins-and-geofencing-2b3e40a1a124
Why is this issue closed? :/
I'm looking forward for this fix as well
Comment for stats
I also need this feature.
@optimygmbh I was able to confirm that I can receive a data notification using the onBackgroundMessage callback even if the application is terminated on Android (API 8.1). I then triggered a local notification using the flutter_local_notifications plugin.
@imtoori It seems you're correct but the documentation is very misleading, especially since debug mode is usually closed when apps are terminated in the emulator. Any chance we could get the documentation updated?
I've however yet to confirm if this works after some time(after app is removed from the services whitelist).
Most helpful comment
Why is this issue closed? Is it possible to receive data notifications while app is terminated or am I the only one who has this requirement??