Usually when installing apps from package or App Catalog, it grants automatically all permissions requested by the app.
In Android 11 it does not grant MANAGE_EXTERNAL_STORAGE.
It is possible to grant the permission by
afw_set_permission_grant_state app.name android.permission.MANAGE_EXTERNAL_STORAGE allow
It means by a package it flows fine, by adding a post-script.
Is there a way to do it by app catalog, or get a kind of trigger to start a script when the app is installed ?
My workaround is to create a schedule task running periodically with the afw_set_permission script.
