Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deinitialize in onDetachedFromEngine on Android, foreground service problem #802

Open
Ilya-Vys opened this issue Sep 28, 2023 · 0 comments

Comments

@Ilya-Vys
Copy link

Describe the bug
We need to have ble connection on foreground service, to get actual data even app is terminated.
5.0.3 version unclude feature #519
This feature close our foreground service connection when app terminated by user or system.

To Reproduce
Open connection on foreground service.
Terminate app.

Expected behavior
Do not close foreground service connection.

Smartphone / tablet
Android devices

Peripheral device
Custom BLE device

Additional context
Foreground service and app have different instances of FlutterReactiveBle, cause service works on isolate. Why instance on service closing? How to solve it properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant