-
Notifications
You must be signed in to change notification settings - Fork 552
Open
Labels
Description
Prerequisites
- I checked the documentation and FAQ without finding a solution
- I checked to make sure that this issue has not already been filed
Expected Behavior
The application crashes on Android when connecting to a BLE device for the second time after closing and reopening the app. The crash occurs when navigating to the reading screen where monitorCharacteristicForDevice() is used.
Current Behavior
This seems related to a known issue where the app crashes instead of handling disconnection properly.
Library version
3.5.0
Device
all devices
Environment info
The application crashes on Android when connecting to a BLE device for the second time after closing and reopening the app. The crash occurs when navigating to the reading screen where monitorCharacteristicForDevice() is used.Steps to reproduce
- …
- …Install and open the application on an Android device.
Scan and connect to a BLE peripheral device.
Navigate to the reading/data screen where monitorCharacteristicForDevice() is started.
Verify that data is being received correctly.
Close or kill the application from recent apps (without manually disconnecting the BLE device).
Reopen the application.
Connect to the same BLE device again.
Navigate to the reading/data screen again.
Formatted code sample or link to a repository
nilRelevant log output
nilAdditional information
No response
Reactions are currently unavailable