79394881

Date: 2025-01-28 18:44:34
Score: 0.5
Natty:
Report link

One approach is to create a new FlutterEngine that doesn't call into UI code, when MainActivity is terminated, but when a foreground service notification is still active. You'll still need to refactor you code so the FlutterEngine is the one always making MethodChannel calls.

Here's an example.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: andrew-e