-
-
Notifications
You must be signed in to change notification settings - Fork 238
Remove QUERY_ALL_PACKAGES permission #335
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
Conversation
Thanks for your amazing contribution mate! <3 |
hey @jdnichollsc . Do you have any plans to release a new version soon to include this change? |
Hello mate, hope you're doing well Best, |
Hi @jdnichollsc . |
they have updated it. in the link you sent it now says:
so there should be enough time to release a version with these changes. |
It seems that as of today (April 5) AppCenter won't allow my app to be released to google play now because of this permission (error: "This release includes the QUERY_ALL_PACKAGES permission, which hasn't been declared in Play Console."). Does anyone know if it is possible to declare it on google play yet or will that not be possible until July 1? |
I'm also getting my app rejected because of this permission now. It passed the previous release a week ago |
Hello folks, please keep the discussion here #311 (comment) Thank you for your patience! <3 |
Hi @jdnichollsc |
When will this be on npm? |
please create a new release with this fix, the dead line is approaching |
Awesome thank! But we need to get this published ASAP, or our app will be removed from the App Store. |
This is still not released. Best work around till then is to create patch file for this node module in your git. In your project folder go to node modules folder and edit the AndroidManifest.xml file there Remove this whole line in terminal run this commit the patch file in your git, and voila. My app got accepted by Google without any issue this time |
your command created successfully a patch file. I ran Do i need yarn 2.x for applying patches properly Update: I just had to follow these instruction for yarn |
On your package.json add
|
When will this PR be published in the release? |
NEVER! |
just patch the package brothers |
I had to make a fork because this has not been released yet. The Google Play deadline is here - please release a new version. |
I've just created this patch package
|
Hello, I added in my AndroidManifest.xml the remove of the
and I also added a patch like yours @allanzi but I still get the following error:
Did you also face this error despite the patch and the removal of the condition in the AndroidManifest? I need to deploy my application quickly but apparently, the library will not be patched soon ... :/ Thanks and have a nice day ! ☀️ |
Hey Hereal, I'm in exact same situation. I'm not able to see QUERY_ALL_PACKAGES permission in my AndroidManifest.xml anymore after that fix. Searched that keyword in entire node_modules and only inappbrowser was using it. However PlayStore somehow finding it in my builds. Maybe it's a PlayStore cache issue or something like that, idk. Let me know if you finds any solution. In the meantime I submit my permission request from PlayStore with an explanation, we'll see. |
Ran into this as well. Seems like the Play Store gets confused. This is the reply I got from support when I asked about it:
This is relation to this error encountered by fastlane when uploading a build:
The patch-package solution is the best option we have because it's quick and effective. Then to solve the Play Store error it seems like submitting with an explanation that the permission isn't used anymore is the next step. |
why this is not released yet? @jdnichollsc |
I'm coming back to you, it seems that @a613's solution associated with my previous actions is right, my build just got accepted without any fastlane errors! 🥳 What I did:
Thanks to @sharmal33, here is the content of the patch used :
Once the form was submitted and I had a well deserved coffee, I re-run my pipeline a few minutes later, no errors and my build is available. I hope this helps, thanks for your participation and may the force be with you, colleagues developers ! |
@Herael have Google reviewed an accepted your latest build for release? I have done all the steps you have outlined but Google continue to decline it for release, this is after I have filled out the declaration form with dummy data and uploaded a completely fresh build without any QUERY_ALL_PACKAGES permissions. We found that your app is not compliant with how QUERY_ALL_PACKAGES permission is allowed to be used. Permitted uses involve apps with core functionalities that require the discovery of any and all installed apps on the device for awareness or interoperability purposes. This is seriously frustrating as we have been unable to get a release out for over a week. |
@Herael is |
@sjransom Google accepted my build yeah without any particular message, just after filling out the form, I submitted a new build and it passed with no fastlane errors. @Filippo39 Yes, I think so too. This is my only library that requires this permission. I was thinking of removing it from the next release, but being stuck for a while, I wanted to take all the chances |
@Herael thanks, yeah Google accept my build via Fastlane but after I push the build to review so that I can release it still gets rejected even though there is no QUERY_ALL_PACKAGES permission in the app bundle explorer. |
I can confirm it's redundant and unnecessary. Simply patching the package is sufficient. We were able to deploy our build and now the Google Play Console reports that we don't have any builds with |
Try replacing each release track build with the newest version. I saw others comment elsewhere about that being the issue preventing them. I just submitted our latest build after replacing all other release track builds. Will report back. |
Hey folks, please help me reviewing this PR for the new Release 3.7.0 #375 |
Sorry for the delay folks 😥 |
What is the current behavior?
All apps that are using
react-native-inappbrowser
dependency automatically include the dangerousQUERY_ALL_PACKAGES
permission and need to explain why they are using it or the apps will be removed from July 2022.What is the new behavior?
We can safely remove this permission, as we only need to query the browsers that support custom tabs and having
is enough for that.
See https://developer.android.com/training/package-visibility/use-cases#open-urls-custom-tabs
Fixes #311