Permissões
The plugin collects the user’s device data according to the permissions available at the time of collection: the more permissions your application requires and the user grants, the more information is collected from the user’s device.
The INTERNET permission is required so the SDK can send information to QI Tech’s servers.
Permissions used by the plugin
Our plugin does not request the permissions described. Therefore, to ensure a more complete device scan, we recommend obtaining these permissions before calling the device scan.
Android
For the Android platform, the following permissions are used if available:
| Permission | Purpose | Required |
|---|---|---|
| INTERNET | Required to send information to QI Tech’s servers. | Yes. |
| BLUETOOTH | Captures Bluetooth hardware information. | No. |
| BLUETOOTH_CONNECT | Captures Bluetooth connection information. | No. |
| READ_CONTACTS | Reads the contacts list. | No. |
| ACCESS_COARSE_LOCATION | Accesses network information (cell tower, carrier...) and location via this method (less accurate). | No. |
| ACCESS_FINE_LOCATION | Accesses location via GPS (more accurate). | No. |
| READ_PHONE_STATE | Network, SIM, IMEI, and other telephony-related information. | No. |
| QUERY_ALL_PACKAGES | Information about installed apps on the device. Required for Android 11+ devices. | No. |
The QUERY_ALL_PACKAGES permission may cause friction with Google Play during app release. To address this, you can describe the reason for requesting the permission.
iOS
For the iOS platform, the following permissions are used if available:
- location - Captures device geolocation data
Info.plist file
The first step to enable permissions for the plugin is to configure the permission in the app’s Info.plist file, using the following line of code for each desired permission:
- location - Captures device geolocation data:
<key>NSLocationWhenInUseUsageDescription</key>
<string>Add the message you want to show the user when iOS requests permission to access geolocation</string>
To improve the user experience when requesting permissions, you should customize the message shown in the permission request pop-up as described above.