Step 1
Add the iOS SDK dependencies. See how to install iOS SDK
Step 2
Add following keys to project's Info.plist
file
- NSMotionUsageDescription
- NSBluetoothAlwaysUsageDescription
- NSLocationAlwaysAndWhenInUseUsageDescription
- NSLocationWhenInUseUsageDescription
Example
<key>NSMotionUsageDescription</key>
<string>Application needs sensors access to accurately detect movement</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Application needs bluetooth access to accurately detect location</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Application needs location access to accurately detect location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Application needs location access to accurately detect location</string>