Skip to main content

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.

Attention

The INTERNET permission is required so the SDK can send information to QI Tech’s servers.

Permissions used by the plugin

Important

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:

PermissionPurposeRequired
INTERNETRequired to send information to QI Tech’s servers.Yes.
BLUETOOTHCaptures Bluetooth hardware information.No.
BLUETOOTH_CONNECTCaptures Bluetooth connection information.No.
READ_CONTACTSReads the contacts list.No.
ACCESS_COARSE_LOCATIONAccesses network information (cell tower, carrier...) and location via this method (less accurate).No.
ACCESS_FINE_LOCATIONAccesses location via GPS (more accurate).No.
READ_PHONE_STATENetwork, SIM, IMEI, and other telephony-related information.No.
QUERY_ALL_PACKAGESInformation about installed apps on the device. Required for Android 11+ devices.No.
Attention

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>

Attention

To improve the user experience when requesting permissions, you should customize the message shown in the permission request pop-up as described above.