Required Permissions
Necessary Permissions
To access Bluetooth Services, Android requires ProGlove Connect to have the "Location Permission" - more technically, ACCESS_FINE_LOCATION
.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
As access to the device location is of a high privacy impact, Android requires the user (or MDM) to give it explictly.
Note: ProGlove Connect does not gather, store or process any kind of location data. Only the bluetooth components are used
During Use
Upon starting ProGlove Connect and selecting "Scan2Pair", the permission is requested if it was not given beforehand
via MDM/Script
To grant the necessary permissions during installtion via a script, execute the following shell commands on android (with management permissions):
pm grant de.proglove.connect android.permission.ACCESS_FINE_LOCATION
If you want to try this out over adb, you can execute
adb shell <<EOF
pm grant de.proglove.connect android.permission.ACCESS_FINE_LOCATION
EOF
Other Permissions
Upon installation, several permissions are automatically (implicitly) granted to the ProGlove Connect App. These are listed below
1. Network State
Permission to query changes in network state.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" \>
2. Bluetooth Permissions
Permissions to discover and Pair BLE-Devices.
<uses-permission android:name="android.permission.BLUETOOTH" \>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" \>
3. Foreground-Services
Starting with API 28 foreground-services must declare this permission.
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" \>
4. INTERNET Permission
Network access is used to upload Crash reports to Firebase and in some build variant to upload scan and device information to the proglove cloud.
<uses-permission android:name="android.permission.INTERNET" \>