-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Your Socket Mobile Developer ID
95d04909-54d4-ee11-9079-000d3a5cb302
Environment
iOS 26
CaptureSDK 2.0.31
Scanner D840
Description
I have attached an example project that demonstrates the issue. I have attempted to integrate the CaptureSDK, including the following steps:
- Added the CaptureSDK via SPM
- Added Queried URL Schemes, Supported external accessory protocols, and necessary camera/bluetooth usage descriptions to info.plist
- Registered the app on the developer portal and added the necessary keys via
SKTAppInfo - Pushed a delegate to to the CaptureHelper - I used the same
CaptureSdkHandleras per theSingleEntrySwiftdemo project to keep things as similar as possible.
I successfully see the log messages for scanned barcodes via didReceiveDecodedData, so I know the scanner is connected to the iOS device and able to communicate. However, the device arrival/removal messages are never logged. Specifically, I am not seeing the expected messages from didNotifyArrivalForDevice and didNotifyArrivalForDevice. This is despite the fact that when I run the SingleEntrySwift demo, I do receive the expected device arrival/removal messages.
Is there some additional configuration or registration step that is not documented or that I am missing?
Steps to Reproduce
- Connect a scanner (I used the D840) to an iPhone (mine is running iOS 26).
- Run the attached Xcode project.
- Scan a barcode and confirm that the
Decoded Datalogs are generated in the console as expected. - Observe that there are no logs generated in the console for the scanner's arrival on launch, or if the scanner is turned off and back on again.
- Run the Socket Mobile demo project
SingleEntrySwiftand observe that the device arrival/removal logs are generated in the console.
Expected Behavior
Prior to scanning the barcode, I would expect to see the device arrival log in the console, as I do with SingleEntrySwift.
Actual Behavior
No scanner arrival/removal logs are generated.
Additional Context
I have spent a few hours combing through my attached project and comparing it to SingleEntrySwift but have been unable to determine why mine does not register device arrival/removal.