Closed PriyankaInoid closed 1 year ago
I suspect what is going on here is this:
In order to fix this, you probably need to adjust the way that Flutter is initialized in this case. In the Android lifecycle, the a native class Application has an onCreate method that is called when the app is re-launched in this case. Somehow, you need to get Flutter reinitialized in this method.
I am not a Flutter expert so I am afraid I cannot advise further, but this should be a pretty common thing to do.
closed due to inactivity
Expected behavior Need beacon scanning when app is terminated.
Actual behavior Giving Error when app killed and not able to send beacon scanning data to flutter(Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: beacons_plugin_stream. Response ID: 309)
Steps to reproduce this behavior
Mobile device model and OS version Galaxy M30 and OS version is 10
Android Beacon Library version implementation 'org.altbeacon:android-beacon-library:2.19'
IMPORTANT: This forum is reserved for feature requests or reproducible bugs with the library itself. If you need help with using the library with your project, please open a new question on StackOverflow.com.