Your Socket Mobile Developer ID
94ad3dd4-8474-ea11-a811-000d3a3786fc
Environment
OS Version: iOS 26.4
CaptureSDK version: react-native-capture: 2.0.24
Device: iPad 9th generation
Description
I am upgrading to version 2.x of the React Native CaptureSDK, and while I can connect to the S550 using the new CaptureHelper, I cannot permanently disconnect from it. To disconnect, I'm calling the setDisconnect() method on the CaptureHelperDevice, and I hear the S550 say "disconnected", and I get the onDeviceRemoval event, but then the S550 immediately reconnects and I get a new onDeviceArrival event. I have not figured out a way to permanently disconnect from the device. When I used version 1.x of the SDK, I would clear the favorite, but this is no longer supported. Please advise.
Steps to Reproduce
- Create an instance of CaptureHelper.
- Discover the S550 using captureHelper.addBluetoothDevice(BluetoothDiscoveryMode.BluetoothLowEnergy);
- Upon invocation of onDiscoveredDevice(discoveredDevice), connect using captureHelper.connectDiscoveredDevice(discoveredDevice);
- The app will receive a onDeviceArrival(s550Device) event indicating the S550 is connected.
- Now attempt to disconnect using s550Device.setDisconnect()
- The S550 will briefly disconnect, the app will receive an onDeviceRemoval event, and the S550 will immediately reconnect and the app will receive a onDeviceArrival event again.
Expected Behavior
The expected behavior is for the S550 to remain disconnected after calling the setDisconnect() method, so it can be connected to another host.
Actual Behavior
The actual behavior is that the S550 does not remain disconnected after the setDisconnect() call, it immediately reconnects.
Additional Context
No response
Your Socket Mobile Developer ID
94ad3dd4-8474-ea11-a811-000d3a3786fc
Environment
OS Version: iOS 26.4
CaptureSDK version: react-native-capture: 2.0.24
Device: iPad 9th generation
Description
I am upgrading to version 2.x of the React Native CaptureSDK, and while I can connect to the S550 using the new CaptureHelper, I cannot permanently disconnect from it. To disconnect, I'm calling the setDisconnect() method on the CaptureHelperDevice, and I hear the S550 say "disconnected", and I get the onDeviceRemoval event, but then the S550 immediately reconnects and I get a new onDeviceArrival event. I have not figured out a way to permanently disconnect from the device. When I used version 1.x of the SDK, I would clear the favorite, but this is no longer supported. Please advise.
Steps to Reproduce
Expected Behavior
The expected behavior is for the S550 to remain disconnected after calling the setDisconnect() method, so it can be connected to another host.
Actual Behavior
The actual behavior is that the S550 does not remain disconnected after the setDisconnect() call, it immediately reconnects.
Additional Context
No response