DatalogicSDK iOS
Getting Started
The DatalogicSDK empowers users to write iOS applications that interface with a connected CODiScan™ HS7600 wearable Bluetooth bar code reader.
Using the SDK
-
Import DatalogicSDK as a SPM dependency.
-
Open your Xcode project.
-
Go to File > Add Packages...
-
Enter the Git URL of the package
-
Select the version rule (e.g., "Up to Next Major").
-
Click Add Package.
-
-
Add ZintDataMatrix dependency.
-
Download and add ZintDataMatrix.xcframework to the dependencies of your target
-
Select 'Embed & Sign' option
-
- Configure BLE permission request
To use Bluetooth Low Energy (BLE) features in your Swift app, you must add usage strings in your Info.plist, such as:
<key>NSBluetoothAlwaysUsageDescription</key>
<string>This app needs Bluetooth access to discover and connect to nearby devices.</string>
- Import and Use in Code
import DatalogicSDK
print(Constants.version)