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

Question, new QUERY_ALL_PACKAGES requirements, what is at risk? #18

Open
codyfilatov opened this issue Jul 16, 2022 · 6 comments
Open

Comments

@codyfilatov
Copy link

The QUERY_ALL_PACKAGES permission is being placed under the "core functionality" deal with Google. Effectively meaning it cannot be used. If I remove this permission from my application, what functionality will not be accessible?

@Gayathri-GA
Copy link
Collaborator

@codyfilatov
If your app uses android version 11+ QUERY_ALL_PACKAGES permission need to be added in order to make the app communicate with other app, If you tend to remove this permission the application stop to work or trigger to communicate.

@mbombonato
Copy link

Hello! First, thanks for this nice plugin!

Google is asking a huge amount of explanations for the QUERY_ALL_PACKAGES permission usage when we publish the app.

It would be possible to remove the QUERY_ALL_PACKAGES permissions and just use the code below for our specific packages? Example:

<queries>
   <package android:name="com.google.android.apps.maps"/>
</queries>

QUERY_ALL_PACKAGES it's probably too much for most use cases and should be optional. Is that possible?
Is the "queries" permission enough to launch a simple external app?

Thanks!

@Gayathri-GA
Copy link
Collaborator

Gayathri-GA commented Aug 1, 2022

@mbombonato
Thanks for posting the suggestion.
@aldwinsetiawan
The package code has been updated with the latest changes and will get published to pub.dev in a day.

@aldwinsetiawan
Copy link

aldwinsetiawan commented Aug 1, 2022

Hi, bumping on this issue, i noticed that the QUERY_ALL_PACKAGES permission is added to my manifest from this package. I added this line <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:node="remove" /> to remove it but the permission still there on the final manifest.

Any solution to this?

@kabaluyot
Copy link

@Gayathri-GA do you have ETA when it will be updated to pub.dev?

@Gayathri-GA
Copy link
Collaborator

Gayathri-GA commented Aug 3, 2022

@kabaluyot It will be getting published shortly.

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

5 participants