Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Beep in CaptureSDK's SocketCamController #5

Open
11 tasks
TheOneTeamiOS opened this issue Oct 10, 2023 · 2 comments
Open
11 tasks

Issue with Beep in CaptureSDK's SocketCamController #5

TheOneTeamiOS opened this issue Oct 10, 2023 · 2 comments

Comments

@TheOneTeamiOS
Copy link

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:

  • Import CaptureSDK in a Flutter project.
  • Use Capture methods and not use the SocketCamController.
  • Observe the unexpected SocketCamController - SocketCamController.swift:520: Beep found in CaptureSDK

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

  • CaptureFlutterHandle.h
  • CaptureFlutterHandle.m
  • CaptureFlutterPlugin.h
  • CaptureFlutterPlugin.m
  • IosTransport.h
  • IosTransport.m
  • TransportConnector.h
  • TransportConnector.m

Additional Information:

  • Flutter Version: [Flutter 3.3.10]
  • CaptureSDK Version: [capturesdk_flutter: 1.3.1]
  • Device/Emulator: [All Device]

[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
Copy link
Collaborator

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
Copy link
Collaborator

cyrille-socket commented Oct 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants