Android Question Using FileProvider & New Google Play Warning Problem About android.permission.REQUEST_INSTALL_PACKAGES

AlfaizDev

Well-Known Member
Licensed User
Hello
I use FileProvider in some of my apps and it's meant to share the wisdom of the app as in the example.
https://www.b4x.com/android/forum/threads/share-my-app.140137/#post-887783

Or share some files
Google Play Warning Issued
that

B4X:
The REQUEST_INSTALL_PACKAGES permission allowed your app to install packages.

To use this permission, the primary functionality of your app (the primary purpose of the app) must include:

send or receive app packets and
Enable the user to start the process of installing application packages
Allowed jobs include:

Web Browsing
Search or Google Assistant service
Communication services that allow the use of attachments
Share, move, or manage files
Enterprise Device Management
If your app doesn't meet these requirements, remove them from your app's manifest file to comply with Google Play policy.

What do you recommend, can you dispense with this permission?
 

DonManfred

Expert
Licensed User
Longtime User
What do you recommend, can you dispense with this permission?
Remove it. You are not expected to upload a app to the playstore with this permission.

You can use it in app not being on play store (internal apps) though.
 
Upvote 0

AlfaizDev

Well-Known Member
Licensed User
Remove it. You are not expected to upload a app to the playstore with this permission.

You can use it in app not being on play store (internal apps) though.
Thank you, I'll delete it.
I need this permission just in case I want to share and install an application by FileProvider
But in the case of sharing files only I don't need it
Is that right ؟
 
Upvote 0
Top