Home > Net >  How to remove REQUEST_INSTALL_PACKAGES from previous verison
How to remove REQUEST_INSTALL_PACKAGES from previous verison

Time:02-03

In previous version of my app I used open_file and unfortunately it used REQUEST_INSTALL_PACKAGES permission. Now I delete this permission and changed package now Im using open_filex. Added this code to my manifest file.

<uses-permission
    android:name="android.permission.REQUEST_INSTALL_PACKAGES"
    tools:node="remove"/>

But can not publish my new version. Google wants me fill the "Sensitive permissions and APIs" - part witch I don't now what case I should to choose. How can I solve this problem ?

enter image description here

enter image description here

I also tried to add new release in Internal testing but couldn't enter image description here

CodePudding user response:

I had the same problem, i solved changing the plugin for this:

open_filex

This package is a fork of open_file to fix the following issues:

-Remove REQUEST_INSTALL_PACKAGES permission in Android to comply with GooglePlay publish policies

CodePudding user response:

Remove that code from AndroidManifest. Not required.

Alternatively check if the new package you added contains the permission.

open_file_safe worked for me.

  • Related