Closed pentabarf closed 2 years ago
If you discover a fault in this plugin, please let me know.
Does the Watcher gets removed when closing the app? Or is there any option to do so?
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.
yes i mean "killing"
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: https://github.com/capacitor-community/bluetooth-le/issues/158