Install Movisens
To use this package, add the following to you pubspec.yaml file. Note that this package only works together with carp_mobile_sensing.
dependencies: carp_core: ^latest carp_mobile_sensing: ^latest carp_movisens_package: ^latest ...Android Integration
Section titled “Android Integration”Add the following to your app’s manifest.xml file located in android/app/src/main:
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application ...></manifest>Update the Android minSdkVersion to at least 19 in the android/app/build.gradle file.
iOS Integration
Section titled “iOS Integration”Add the following to your ios/Runner/Info.plist file:
<plist version="1.0"><dict> ... <key>NSBluetoothAlwaysUsageDescription</key> <string>Need BLE permission</string> <key>NSBluetoothPeripheralUsageDescription</key> <string>Need BLE permission</string> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>Need Location permission</string> <key>NSLocationAlwaysUsageDescription</key> <string>Need Location permission</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Need Location permission</string></dict></plist>