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

Check storage permissions before installing local addons #1643

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

svillar
Copy link
Member

@svillar svillar commented Nov 25, 2024

Addons can be installed from locally downloadable XPI files with the correct MIME type. Installing those local files require android storage permissions. Those permissions were not checked when installing (and are not granted by default) so local installations used to silently fail in those cases.

From now on a dialog is shown in case the permission is not granted.

Addons can be installed from locally downloadable XPI files with the correct
MIME type. Installing those local files require android storage permissions.
Those permissions were not checked when installing (and are not granted by
default) so local installations used to silently fail in those cases.

From now on a dialog is shown in case the permission is not granted.
Copy link
Collaborator

@felipeerias felipeerias left a comment

Choose a reason for hiding this comment

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

It works as expected. The application asked me to enable local add-ons and then the storage permission. Once I did those two steps, the file could be installed and appeared in the Add-ons section.

@svillar svillar merged commit 53d90fe into main Nov 26, 2024
22 checks passed
@svillar svillar deleted the local_addons_storage_permission branch November 26, 2024 09:20
@svillar svillar linked an issue Nov 28, 2024 that may be closed by this pull request
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.

XPI files can't seem to be installed.
2 participants