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 ?
I also tried to add new release in Internal testing but couldn't
CodePudding user response:
I had the same problem, i solved changing the plugin for this:
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.