Hi!
A new day, a new question from my side.
We have set the feature control to allow installation from unknown sources.
Now we distribute a self-written app to the devices via the app policy.
However, when we start the app for the first time, we are still asked whether or not we want to allow the installation of unknown apps.
Is there any way to automatically "allow from this source"?
After a little searching in the forum, I had already tested the following commands.
enable_system_app app_name
afw_set_permission_grant_state app_name android.permission.REQUEST_INSTALL_PACKAGES allow
afw_set_permission_grant_state app_name android.permission.INSTALL_PACKAGES allow
afw_set_permission_grant_state app_name android.permission.RESTART_PACKAGES allow

Best regards and have a nice weekend!