I recently submitted an update to google play, but it was rejected because I am using the following permission: android.permission.REQUEST_INSTALL_PACKAGES
I have already located the permission in the manifest.xml file but I don’t want to delete it just like that.
Reviewing previous versions, I have been using that permission for about a year and it even caused me problems in Google Play.
I already reviewed previous versions and their notes and I don’t see important modifications that could include that permission.
I reviewed components and extensions and I consider that no extension needs that permission.
Google Play restricts the use of high risk or sensitive permissions, including the REQUEST_INSTALL_PACKAGES permission, which allows an application to request installing packages. Apps targeting API level 26 or newer must hold this permission in order to use Intent.ACTION_INSTALL_PACKAGE or the PackageInstaller API. To use this permission, your app’s core functionality must include:
Sending or receiving app packages, AND
Enabling user-initiated installation of app packages.
If your app does not meet the requirements for acceptable use below, you must remove it from your app’s manifest in order to comply with Google Play policy.
Well, what I mean is that in the manifest file I already found the permission line, but I don’t want to remove it just like that, I would like to know which component uses that permission before removing it directly in the manifest file.
Remove a component or extension, build the project, then check the manifest… is the permission still there? Remove the next component or extension etc until you found it …
Let us know what you find out…