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(#1989): workaround for downloading metadata on iOS Safari #2094

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

MSzalowski
Copy link
Contributor

@MSzalowski MSzalowski commented Sep 30, 2024

List of changes

  • provide a workaround for downloading the metadata file on iOS.

Reason for the workaround is the limitation on iOS.
Safari browser on iOS blocks programmatically generated file downloads for security reasons.

Because of that, if the interaction is triggered on mobile safari, I made that open a new tab with the json content - allowing user to manually download this data and meet the security requirements on iOS.

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the changelog
  • I have added tests that prove my fix is effective or that my feature works

@MSzalowski MSzalowski linked an issue Sep 30, 2024 that may be closed by this pull request
Copy link

✅ All checks succeeded

2 similar comments
Copy link

✅ All checks succeeded

Copy link

✅ All checks succeeded

@MSzalowski MSzalowski force-pushed the fix/1989--mobile-cant-download-metadata branch from 22b65dd to d783f68 Compare October 1, 2024 08:59
@MSzalowski MSzalowski force-pushed the fix/1989--mobile-cant-download-metadata branch from d783f68 to 85be603 Compare October 1, 2024 09:01
@MSzalowski MSzalowski requested a review from Ryun1 as a code owner October 1, 2024 09:01
Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

5 similar comments
Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

Copy link

github-actions bot commented Oct 1, 2024

✅ All checks succeeded

@MSzalowski MSzalowski merged commit 8621e64 into develop Oct 1, 2024
8 checks passed
@MSzalowski MSzalowski deleted the fix/1989--mobile-cant-download-metadata branch October 1, 2024 10:55
Copy link

github-actions bot commented Oct 1, 2024

@MSzalowski
This PR is in the tag: develop-8621e6442b0a53266ce52ba3147db8bdc7ddb965 , for govtool-metadata-validation service

Copy link

github-actions bot commented Oct 1, 2024

@MSzalowski
This PR is in the tag: develop-8621e6442b0a53266ce52ba3147db8bdc7ddb965 , for govtool-frontend service

Copy link

github-actions bot commented Oct 1, 2024

@MSzalowski
This PR is in the tag: develop-8621e6442b0a53266ce52ba3147db8bdc7ddb965 , for govtool-backend service

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.

🐛 Mobile: Can't download metadata
2 participants