Automate application permissions using datalogic oemconfig

I’m trying to automate runtime application permissions using Datalogic OEMConfig (via an MDM / EMM setup).

I’ve gone through the available configurations exposed by the OEMConfig app, but I’m unable to find any option related to:

  • Granting runtime permissions (e.g., storage, location, etc.)

  • Managing app-specific permissions programmatically

From what I can see, the OEMConfig mainly exposes device-level and scanner-related configurations, but nothing for app permission management.

What I’m trying to achieve:
Automatically grant required permissions to a specific app (e.g., storage or exact alarm permission) without user interaction.

Questions:

  1. Does Datalogic OEMConfig support managing runtime app permissions at all?

  2. If not, what’s the recommended approach on Datalogic devices?

    • Should this be handled via Android Enterprise (managed configurations / device owner APIs)?

    • Or is there a Datalogic-specific API / tool for this?

Any guidance or working approach would be really helpful.

Hi @Syed_Afeef_Maliki,

Have you seen this post on our forum: Runtime permissions and Appops through SDK and Scan2Deploy - News - Datalogic Developer Portal

You can use Scan2Deploy Studio scripts to grant this permissions. (in theory it should be possible also to use Oemconfig to send Scan2Deploy Studio scripts in case your MDM is not capable of sending scripts themselves.)

Gr Peter

Thank you, I will check this and update.

Also, to give context, we are the MDM/EMM app in this scenario.