Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST_INSTALL_PACKAGES #703

Open
kenargo opened this issue Dec 11, 2020 · 2 comments
Open

REQUEST_INSTALL_PACKAGES #703

kenargo opened this issue Dec 11, 2020 · 2 comments
Labels

Comments

@kenargo
Copy link

kenargo commented Dec 11, 2020

REQUEST_INSTALL_PACKAGES is a new permission in Android O and above that allows apps to download and install APKs.

Is there plans to support this permission?

The permission is still tested using PackageManager but has a slightly different use pattern than using flags like the other permissions so it would need a bit of special code when indicated.

Detail here

The important part of the article is following:

You can choose to pre-emptively direct your users to the Install unknown apps permission screen using the ACTION_MANAGE_UNKNOWN_APP_SOURCES Intent action. You can also query the state of this permission using the PackageManager canRequestPackageInstalls() API.

@hotchemi
Copy link
Member

thx, let us check!

@hotchemi
Copy link
Member

@kenargo sorry we're prioritizing other stuff, do you have any API suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants