Integrating ScanAPI 10.3.90 to iPad iOS 10.2 with 7Xi scanner - socketmobile

I am trying to connect 7Xi scanner to SingleEntry project.
For a very first time I just started scanner and connect to Bluetooth so I guess it was HID connection. I refer Readme file from SingleEntry project.
So I tried to setup scanner in iOS mode by
I reset the scanner pairing by pressing Scanner’s large button + on/off button.
I have generated
#FNC IOS ACCEPTOR 000000000000#
barcode and scanned it.
Now, how would I get to know that scanner is setup for iOS mode and not for HID ? As I am seeing same name in Bluetooth manager of my pc and iPad.
If I pair and Run the SingleEntry project nothing is happening. No delegates being called.
Am I missing something ?

I got the issue. In Readme file its mentioned :
For the 7Xi/Qi: #FNC IOS ACCEPTOR 000000000000#
For all others (1D scanners and 8Qi): #FNB00F40002#
For me #FNB00F40002# worked to change scanner to iOS mode from HID mode.
Now its working. Also it will not work with Simulator.

Related

Xcode-Swift 5: Is it possible to turn off the GPS requirement when launching iOS app on a WiFi only device?

I have an app written in Swift 5 using Xcode 13.3.1 that has sensor reads but also a speedometer that works by using GPS which is set as a requirement in "Custom iOS Target Properties" to track speed which works great on an iOS Phone as there is cell service but I want to run the app in an iPad that is Wifi only- no cell service. When I try to run the app in Xcode using the iPad as a test device, it stops on install saying that it can not install because the iPad doesn't support GPS. I'm wondering if there is a way to disable the need for GPS in the Info Target Properties or in code, when a device that is WiFi only is attached? I'm fine with the fact that the Speedometer will not function as a result, but the sensor reads will still work.
GPS which is set as a requirement in "Custom iOS Target Properties"
That's the wrong approach. Basically using required hardware properties is frowned on. Just install anywhere, and then fail gracefully if the user tries to employ a feature that requires hardware that isn't there.

Should I use Mac for testing iPhone or is Windows enough?

I managed to control my android device with both 'ADB' and 'Appium' on windows system.
Question is : Can I do the same for iPhone ? as i heard that it can't be done in windows platform and it isn't clear on net.
Also wanted to know if the iPhone sdk having tools like ADB 'command line tool' to do some things like make phone call , or press , or swipe ..
I trigger all of that with python scripts.
Thanks
For iPhone automation testing with the help of appium, you must need Mac machine.For iOS app testing using appium, the primary requirement is XCode which comes with only iOS Operating System which you can get only on MacBook/MacMini.
There is no tool like ADB for iOS. Whatever command you want to send to the device, all those needs to be sent through appium driver only. You can check the appium driver, there are lot of in built methods like hiding keyboard or launching app or opening notifications panel etc.

Issues connecting to Socket Mobile scanner using SDK and iOS 9.3

I'm having an issue with the scanner, not sure if it's my iPhone 6s, the iOS version 9.3 or the scanner in itself (Socket Cordless Hand Scanner 7Mi).
I was able to integrate CocoaPods and the ScanApiSDK library, everything compiled correctly, then I added some logic using this example and connected the scanner via bluetooth, but having an issue when detecting scanners connected. When I do scanApi.isScanApiOpen() it returns true, but scanApi.isDeviceConnected() returns false and scanApi.getDevicesList() returns and empty object.
However, if I open the notes app and read a barcode, it types the code in text correctly (which I believe is the HID mode).
I've searched everywhere but I don't seem to get anywhere, any help would be greatly appreciated.

How to transmit screen and control device via mac while running app in Xcode?

I'd like to test apps on device in the same way like on simulator - app runs on real device but I see screen on mac and I can interact with it using mouse. Im just tired of putting phone to my hand all the time. Developing on windows phone allows it, so It would be nice to have it here. Thank you
John Holdsworth on Remote Xcode plugin:
“Remote is a plugin for Xcode that allows you to control an iPhone
from a window on your Mac during development.”
I just found this. You can control device via mac.

Xcode iOS Bluetooth pairing issues

Once a Bluetooth device has been stopped and the connection is lost. Is it possible for the iPhone to automatically pair to that device once it is turned on again? Instead of manually going into the iPhone settings to connect that device.
It is not related to iOS device. Auto parse is the job of the device you are trying to connect (I am using EA framework, not core bluetooth). I have the same problem on current project. What we did is update firmware that can remember last connection, so next time it will automatically connect to iPhone.

Resources