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

fix: Remove READ_EXTERNAL_STORAGE permission requirement #3018

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Jan 16, 2024

The READ_EXTERNAL_STORAGE permission is not needed, and actually unavailable on some apps such as RefBrow. This patch removes the check and all supporting implementation.

Fixes #2312

The READ_EXTERNAL_STORAGE permission is not needed, and actually
unavailable on some apps such as RefBrow. This patch removes the
check and all supporting implementation.
@Rob--W Rob--W requested a review from rpl January 16, 2024 18:49
@Rob--W
Copy link
Member Author

Rob--W commented Jan 16, 2024

I have locally verified (with Node 21.5.0) that I can launch RefBrow with web-ext with this patch, using the command at #2312 (comment)

@rpl
Copy link
Member

rpl commented Jan 18, 2024

I also gave a try to this branch with nodejs 20 and Firefox for Android release, and no surprises with that combination neither, all worked as I was already expecting it to.

Copy link
Member

@rpl rpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, I'm so happy that this old workarond was isolated enough to only require no additional changes besides a few removal \o/

Let's ship this!

As we were discussing earlier today this, besides making web-ext able to run the reference browser again, it also reduce friction for all developers targeting android by not requiring to run any manual adb command anymore, which is great!!!

Thanks a lor Rob for taking care of this cleanup.

@rpl rpl merged commit 455ecb7 into mozilla:master Jan 19, 2024
4 checks passed
willdurand pushed a commit that referenced this pull request Jan 19, 2024
The READ_EXTERNAL_STORAGE permission is not needed, and actually
unavailable on some apps such as RefBrow. This patch removes the
check and all supporting implementation.
willdurand added a commit that referenced this pull request Jan 19, 2024
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.

Remove android.permission.READ_EXTERNAL_STORAGE permission requirement
2 participants