//Code called when all permissions in the list are properly granted
The Permissions Utils component automatically manages the permission request workflow depending on the version of Android installed on the user's smartphone.
The diagnosis screen is divided into four areas:
The first displays the status of sensors and permissions.
The second contains a quick link to the battery optimization functions.
The third displays a contact button to reach support.
The fourth section allows you to enable an activity log.
Layout of the diagnosis screen on iOS
The first two areas are always displayed. The third and fourth are optional.
The diagnostic function of the SDK has the following configurations:
In area 1, the sensors and permissions to be checked are selected automatically except for the Bluetooth sensor. If your application does not use a Bluetooth device or an iBeacon, it is not necessary to monitor the status of the Bluetooth sensor.
Area 2 is always displayed if the Android version includes power-saving features (introduced from Android 6.0 - API level 23).
In area 3, it is possible to configure the recipient's email address for the support request or a web address to which the user can be directed.
Area 4 can be hidden if necessary.
To use the app diagnosis display into your app, you must enter the following lines of code: