umair13adil / simple_beacons_flutter

A flutter plugin project to range & monitor iBeacons.
Apache License 2.0
35 stars 42 forks source link

Android runInBackground error: Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++ #33

Open andriy-gulak-ew opened 3 years ago

andriy-gulak-ew commented 3 years ago

I've set up beacons_plugin on Android and have set the run in background to true: await BeaconsPlugin.runInBackground(true);

When I terminated the app, I didn't receive any info regarding beacons, but I got the following in logs:

W/FlutterJNI( 6303): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: beacons_plugin_stream. Response ID: 0

Can you please help me with this. What should I do in order to get the results from the foreground Android service?

ezranbayantemur commented 3 years ago

Same here. Maybe @umair13adil would help?

VinniciusJesus commented 3 years ago

Do we have any updates on this?