flutter_notification_listener
flutter_notification_listener copied to clipboard
Background callback not working
Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter_notification_listener/bg_method. Response ID: 9.
This happen when I run in release mode on android 14 and android 10 kill the app from tab and then reopen. using flutter 3.10.6.
Hi there, I have raised a fix for this issue. Please have a look : https://github.com/jiusanzhou/flutter_notification_listener/pull/46
Hi there, I have raised a fix for this issue. Please have a look : #46
Why, instead of deleting resources in the onDetachedFromEngine method, you do everything flutterJNI.attachToNative() ?