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.
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.
The QUERY_ALL_PACKAGES permission cannot be used in the following scenario:
The QUERY_ALL_PACKAGES permission can be used in the following scenario:
For more help addressing this issue, read more in our Help Center.
Are you able to address this issue?
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:
Hello Jason,
Did you found the solution for this. Now am facing the same. Your suggestion would help me.
Thank you.
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.
Are you using the latest version (1.0.2) of the plugin?
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.