Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Google Rejection Because of Inexisting REQUEST_INSTALL_PACKAGES in a manifest.

Discussion in 'Android' started by Dan_Stradh, Oct 18, 2022.

  1. Dan_Stradh

    Dan_Stradh

    Joined:
    Mar 22, 2018
    Posts:
    13
    So since September 29th Google changed some of their policies. Our app got rejected, and the message they sent us was :

    Remove the request install packages permission from your app, or complete the declaration We've detected that your app manifest file contains the REQUEST_INSTALL_PACKAGES permission. Your app will be evaluated against the request install packages permission policy. We recommend you complete the declaration form, now available in Play Console. If your app does not use the request install packages permission for permitted functionalities, or you no longer use the permission, you must remove it from your app manifest. To learn more, watch this PolicyBytes video.

    And if I search every single files in the root folder, there is no REQUEST_INSTALL_PACKAGES anywhere....
    When I click on Complete Declaration...there is it says that I don't have any issues...

    Anyone faced this issue here ?
    Could there be any REQUEST_INSTALL_PACKAGES hidden somewhere that I'm not aware of ?

    I tried to reach google, but....it could take a while I guess...just wanted to see if anyone knew anything about that here...

    Thank you =)
     
    ChiuanWei likes this.
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,637
    Export Android Studio project and look into manifest files in it.
     
  3. bilalahmad44225

    bilalahmad44225

    Joined:
    Jul 7, 2017
    Posts:
    5
    Hello! I found a way out.
    just go to Player setting>Publishing settings
    Generate the Manifest by checking "Custom main Manifest". An "AndroidManifest" file would be generated in the plugin>android folder. Open it and add this line
    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove"/>
    as soon as in the screenshot.

    Thanks
     

    Attached Files:

    ALL-CAPS and danle2584 like this.
  4. ChiuanWei

    ChiuanWei

    Joined:
    Jan 29, 2012
    Posts:
    130
    i got the same issue .. i dump the aab ' s AndroidManifest won't see this permission..

    really still don't understand why google play make it error on it.
     
  5. MrPeperoni

    MrPeperoni

    Joined:
    Oct 9, 2018
    Posts:
    5
    So you dumped the AndroidManifest and then? Did you replace the line or just uploade it without the manifest?

    How do you dumped it? Did you use the bundleTool from google?


    I can't find this options in my settings. Probably because a very old unity version but I can't update it. This will cause a chain reaction of updates which I don't have time for.

    But I try your suggestions and the way of ChiuanWei und try to replace the manifest within my .aab file. See how it goes.

    I hope you will anwser my questions.