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

Remove QUERY_ALL_PACKAGES #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shatanikmahanty
Copy link

Removes the permission in android manifest providing choice to user if it needs to be updated

Remove QUERY_ALL_PACKAGES
Add breaking change description
Chore: Bump version to 2.0.0
@Won-gyu
Copy link

Won-gyu commented Nov 8, 2024

This was what I needed.
If anyone wants to remove "QUERY_ALL_PACKAGES", update your pubspec.yaml as follows:

# installed_apps: ^1.5.2
installed_apps:
  git:
    url: https://github.com/shatanikmahanty/installed_apps.git
    ref: master 

@bugrevealingbme
Copy link

Just use:

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:node="remove"/>

<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" tools:node="remove"/>

@shatanikmahanty
Copy link
Author

Just use:

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:node="remove"/>

<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" tools:node="remove"/>

We tried using this, but in case of flavors, the merged manifest is generated from main src, so if we add this then it will remove from all flavors!

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

Successfully merging this pull request may close these issues.

3 participants