60
Views
5
Comments
Solved
[AppAvailability Plugin] Google now rejecting Android application due to the QUERY_ALL_PACKAGES used
Question
appavailability-plugin
Mobile icon
Forge asset by Miguel Antunes
Application Type
Mobile

We used this plugin to see if a specific app was installed on a users device.   The app is being flagged by google  because the plugin is using QUERY_ALL_PACKAGES.  Below is the message from google.

Issue found: Less broad app-visibility method should be used

We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method.

One suggested method is to declare your app's need for specific package visibility using the element. You may refer to the common use cases.

About the QUERY_ALL_PACKAGES permission Policy

The QUERY_ALL_PACKAGES permission cannot be used in the following scenario:

  • When the required task can be done with a less broad app-visibility method.

The QUERY_ALL_PACKAGES permission can be used in the following scenario:

  • When your app’s core user-facing functionality or purpose requires discovering any and all installed apps on the device for awareness or interoperability purposes. Examples include device search, antivirus apps, file managers, and browsers.
  • Note: Apps granted access to this permission must comply with the User Data policies, including Prominent Disclosure and Consent Requirement, and may not extend its use to undisclosed or invalid purposes.

For more help addressing this issue, read more in our Help Center


Are you able to address this issue?

2023-03-30 10-13-40
Miguel Antunes
Solution

A new version (1.0.3) is now available, making it easier to specify Android Package Queries and iOS URL Schemes.

The QUERY_ALL_PACKAGES permission was removed.

You can achieve this using the variables option:

2024-04-15 11-41-04
Porselvan Gnanavelu

Hello Jason,

Did you found the solution for this. Now am facing the same. Your suggestion would help me.

Thank you.

2024-04-15 11-41-04
Porselvan Gnanavelu

Hello,

We can remove this permission by applying the below preference in the extensibility configuration.


But for that the plugin should use the AppShield plugin with the latest version. But it seems currently the plugin is using the oldest version, which is already expired.


@Miguel Antunes  It will be really helpful, if it is updated.


Thank you.


2023-03-30 10-13-40
Miguel Antunes

Are you using the latest version (1.0.2) of the plugin?

2024-04-15 11-41-04
Porselvan Gnanavelu

Hello @Miguel Antunes

Yes, I was using the latest version of the plugin. But still the issue existed.

Then as a workaround, tried to refer the  https://github.com/kelter-antunes/AppAvailability directly instead of using the forge component, but still there was the Query_AllPackage_Permission in the app.

Then it is resolved by referring the https://github.com/ohh2ahh/AppAvailability.git and using the scheme check functions directly.

Thank you.

2023-03-30 10-13-40
Miguel Antunes
Solution

A new version (1.0.3) is now available, making it easier to specify Android Package Queries and iOS URL Schemes.

The QUERY_ALL_PACKAGES permission was removed.

You can achieve this using the variables option:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.