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

"INSTALL_NON_MARKET_APPS" depreciated as of Android API 26 #459

Open
r-tx opened this issue Feb 6, 2024 · 0 comments
Open

"INSTALL_NON_MARKET_APPS" depreciated as of Android API 26 #459

r-tx opened this issue Feb 6, 2024 · 0 comments

Comments

@r-tx
Copy link
Contributor

r-tx commented Feb 6, 2024

The method MVT is using for checking if non market based installs are allowed was depreciated API 26 (android 8) and results is mvt always giving a warning.

8.0 changes

The value of the legacy setting INSTALL_NON_MARKET_APPS is now always 1. To determine whether an unknown source can install apps using the package installer, you should instead use the return value of canRequestPackageInstalls().

New method canRequestPackageInstalls is available for >= API 26 devices and should be per app.

It would be useful to take into account the api level when reporting this setting so as not to give misleading results

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

No branches or pull requests

1 participant