SocketMobile / capturesdk_flutter

Public snapshot for flutter sdk
MIT License
3 stars 1 forks source link

Issue with Beep in CaptureSDK's SocketCamController #5

Open TheOneTeamiOS opened 1 year ago

TheOneTeamiOS commented 1 year ago

Issue Description: I have encountered an issue in the CaptureSDK for Flutter. There is a strange beep coming from the SocketCamController. However, there is no SocketCamController found in our project's codebase. I've tried to troubleshoot and resolve this error, but I haven't been able to find a specific solution to address it.

Steps to Reproduce:

Behavior: When I open Device arrival then after not able to close. When I connect Bluetooth connection at first time it work perfect and again I try to do same thing twice then it will be produce beep found in Capture SDK error, I’ve tried to troubleshoot many times with objective c files for produce the error but not found any solutions yet, Please look into below mentioned files for iOS Capture_SDK_flutters that I have tried for troubleshoot

Additional Information:

[Notes:] I have thoroughly checked our project's codebase, and there is no reference or usage of SocketCamController. This issue seems to be originating from the CaptureSDK itself. Any assistance in resolving this issue would be greatly appreciated.

Please let me know if you need any additional information or if there are specific steps I should follow to troubleshoot this problem further. Thank you!

[Screenshot:] Screenshot 2023-10-10 at 5 55 23 PM ([url](Screenshot 2023-10-10 at 5 53 46 PM))**

cyrille-socket commented 1 year ago

Hi @TheOneTeamiOS ,

the screenshot you're showing is a crash from the BLE Manager in the iOS CaptureSDK. It's nothing related to the beep in SocketCamController.

SocketCamController is an internal class of our SDK that manages SocketCam. And by default, it loads the default file beep.wav contained into our SDK that is played when you scan a barcode with SocketCam. SO the log here just says that the beep file from our SDK is loaded that's it. However, if you want another beep to be played, you can have a beep.wav file also in your project and our SDK would load it instead of ours so when you scan with SocketCam your sound is played.

A new version of our FkutterSDK will be release this week so it should fix this BLE manager crash in the iOS SDK.

We'll keep you posted when it's out.

Best, Cyrille

cyrille-socket commented 1 year ago

Hi @TheOneTeamiOS

a new version of the Flutter SDK has been release to the new version 1.4.17: https://github.com/SocketMobile/capturesdk_flutter/releases/tag/1.4.17

Please let us know if you don't have the crash anymore.

Best Cyrille