About system permission dialogs
A system permission dialog refers to the dialog that appears when an application attempts to request runtime permissions, such as access to the camera, location, or storage data.
For more details on runtime permissions in Android applications, please refer to the following external link:
https://developer.android.com/guide/topics/permissions/overview
Automatic permission granting by MagicPod
On Android, MagicPod automatically grants all runtime permissions to the application under test by default. This means system permission dialogs will not appear, and the app will be able to access the necessary permissions without user interaction.
On the other hand, automatic permission granting won't happen on iOS in this way.
Open the iOS Settings app and add a step to enable all permission toggles for the target app. The Settings app can be opened using the "Launch specified iOS app" command by specifying the bundle ID (com.apple.Preferences).
Disabling “Auto-grant app permissions” to test system permission dialogs on Android
ℹ️ This feature was introduced in MagicPod version 1.44.0.
If you would like to test whether system permission dialogs appear as expected on Android, you can disable automatic permission granting.
To do so, open the advanced settings in the device settings panel on the test edit page or in the batch run settings panel, and select “Don't auto-grant permissions” under the “Auto-grant app permissions” option.
In the test edit page's device settings:
In the batch run settings: