You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Using this Plugin together with cordova-plugin-ble-central or capacitor-community/bluetooth-le in Android bluetooth connection doesn't get closed when app is closed.
Reproduce
Create an ionic app for Android
install background-geolocation
install cordova-plugin-ble-central or capacitor-community/bluetooth-le
connect a ble device with the app
close the app
device is still connected with phone and therefore doesn't get find when reopen the app
to verify: disable Bluetooth in phone settings after app is closed and the device will notify a disconnect
Expected behavior
Bluetooth connection should get closed when app gets closed
Smartphone
Device: Motorola moto g 5G plus, Google Pixel 2
OS: Android 10
Version 29
Additional context
I am working on a ble-sensor combined with geolocation tracker project
If by "closing" you mean "killing", then yes. If by "closing" you mean "backgrounding", then no. If you only require updates in the foreground, simply omit the backgroundMessage option.
Description
Using this Plugin together with cordova-plugin-ble-central or capacitor-community/bluetooth-le in Android bluetooth connection doesn't get closed when app is closed.
Reproduce
Expected behavior
Bluetooth connection should get closed when app gets closed
Smartphone
Additional context
I am working on a ble-sensor combined with geolocation tracker project
I opened this also as an issue at capacitor-community/bluetooth-le:
capacitor-community/bluetooth-le#158
The text was updated successfully, but these errors were encountered: