Forum Discussion

oianmol's avatar
oianmol
Level 1.5: Cupcake
2 months ago

Custom DPC app being blocked by google play services

Hi 

We have a custom MDM app which was built to enroll android devices with Device Owner. We have a backend which serves the configuration requires to install/block apps and settings. We are not using Android official management APIs, 

 

A few days ago we received a google play protect update on some of our devices and now whenever we try to enroll the devices using QR code enrollment it gets blocked by google play protect.

 

Please help us understand what is required to bypass this so that we can continue to use our custom MDM app.

 

thanks!

4 Replies

    • oianmol's avatar
      oianmol
      Level 1.5: Cupcake
      2 months ago

      Thank you, I was able to get rid of the error.

      • Emilie_B's avatar
        Emilie_B
        Google Community Manager
        2 months ago

        Hi oianmol​! Thank you for the update

         

        Can I ask how you got rid of the error? Just as it might benefit other members who might experience something similar 🙂

         

        And thank you Moombas​ for helping out - always appreciated! 

         

  • jasonbayton's avatar
    jasonbayton
    Level 4.1: Jelly Bean
    2 months ago

    In lieu of a response from oianmol​ , as I understand it Play Protect is flagging applications with excessive permissions/reach on devices recently. If the DPC is not Google Play-hosted, it seems these prompts are more likely to crop up. 

    DPC applications are permitted in Google Play, and it ensures the developer retains the right to the package name on a first-come, first-served basis. If it's an option to upload it, fill out the paperwork, and run through Play approval, I'd do so.