# Add PinchSDK
# Prerequisites
The following criterias must be fulfilled to implement the SDK:
- Minimum iOS target: 9.0
Latest Update | Current Stable Release |
---|---|
August 31, 2021 | 2.2.0 |
# Install SDK
# Cocoapods
Add the following pod to your podfile:
# Swift Package Manager
SPM Repositories:
https://gitlab.com/fluxloop/swift/pinchsdk.git
https://gitlab.com/fluxloop/swift/pinchsdklegacy.git
https://gitlab.com/fluxloop/swift/pinchsdklegacybluetooth.git
1
2
3
2
3
# Initialize SDK
WARNING
Privacy dashboard and other metadata collection may not work as expected if API key is missing.
In your applications AppDelegate.swift didFinishLaunchingWithOptions
, add the following method calls:
# Background modes
Add bluetooth-central
to your applications background modes. This allows us to scan for eddystone data without having access to users location.