Forum Discussion

gekatz-mce's avatar
gekatz-mce
Level 1.6: Donut
2 months ago
Solved

Issue: Play Protect Blocks DPC Installation During QR Provisioning on Android 14 / One UI 6.1

Hello,

We use QR code provisioning to install our custom Device Policy Controller (DPC) app from a custom download URL (not Google Play).

The exact same APK + QR configuration:

Works on:
Samsung Galaxy S20 — Android 13 / One UI 5.0

Blocked on:
Samsung Galaxy S21 — Android 14 / One UI 6.1

Play Protect stops installation with the message:
"App blocked to protect your device. This app can request access to sensitive data. This can increase the risk of identity theft or financial fraud."

Provisioning QR:
{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "<DeviceAdmin component>",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM": "<Package checksum>",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "<S3 bucket url>",
"android.app.extra.PROVISIONING_LOCALE": "en_US",
"android.app.extra.PROVISIONING_TIME_ZONE": "Europe/Helsinki",
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": false,
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME": "<Package name>",
"android.app.extra.PROVISIONING_WIFI_HIDDEN": true,
"android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE": "WPA",
"android.app.extra.PROVISIONING_WIFI_SSID": "<WiFi SSID>",
"android.app.extra.PROVISIONING_WIFI_PASSWORD": "<WiFi Password>"
}

Questions:

Question 1: What changed in Android 14 or One UI 6.1 related to:
- Sideloading DPCs during provisioning
- Play Protect enforcement during QR setup

Question 2: What is the new required approach to ensure the DPC installation is allowed? (e.g., signature checksum requirement, Play signing, allow list, new provisioning extras)

Question 3: Is there updated documentation that describes the new DPC provisioning security rules?

We need to understand the change and how to properly support Android 14+ devices in enterprise deployments.

Thank you!

  • Emilie_B's avatar
    20 days ago

    Hello gekatz-mce​ and DsvEv​ 

     

    Just a quick message to let you know I've raised this with our internal tech team to see if they can help at all - please bear with us as their reply might take a few days to come. 

     

    I also wanted to share some additional resources:

    If anything has changed in the meantime or if the resources I have shared are not quite tailored to what you're seeing, please let me know 🙂

5 Replies

  • DsvEv's avatar
    DsvEv
    Level 1.5: Cupcake
    20 days ago

    Hello did you find a solution ? Im stuck on the same issue

    • gekatz-mce's avatar
      gekatz-mce
      Level 1.6: Donut
      19 days ago

      Please submit an appeal with a detailed explanation of why your application should be included in the allowlist. It worked for me in the end

  • Emilie_B's avatar
    Emilie_B
    Google Community Manager
    20 days ago

    Hello gekatz-mce​ and DsvEv​ 

     

    Just a quick message to let you know I've raised this with our internal tech team to see if they can help at all - please bear with us as their reply might take a few days to come. 

     

    I also wanted to share some additional resources:

    If anything has changed in the meantime or if the resources I have shared are not quite tailored to what you're seeing, please let me know 🙂

    • gekatz-mce's avatar
      gekatz-mce
      Level 1.6: Donut
      20 days ago

      Emilie_B​ Hello. It appears that our DPC application has been allowed. Although I did not receive an official notification, QR activation has started working on devices where it previously failed.

      • Emilie_B's avatar
        Emilie_B
        Google Community Manager
        19 days ago

        Thank you for sharing the good news gekatz-mce​ 🤩