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

Fixed PWA not registered #2566

Merged
merged 7 commits into from
Jul 5, 2024
Merged

Fixed PWA not registered #2566

merged 7 commits into from
Jul 5, 2024

Conversation

anderson-oki
Copy link
Collaborator

@anderson-oki anderson-oki commented Jul 5, 2024

Description

Closes #2562

Manually maintaining the service worker, updates, manifest.json, injection it is too much effort, and we don't need anything complex, even tho, everything can be supported later on by using Vite Pwa regardless on how complex we want to go.

I added the minimum required to allow the installation of the PWA via Android, iOS, and Desktop browsers with support of cache invalidation once Bazarr is restarted to get the latest frontend changes without the need to refresh the page.

Added Support for Rich Installation:

Screenshot 2024-07-05 at 9 52 54

Removed

  • Unused manifest.json

@anderson-oki anderson-oki changed the base branch from master to development July 5, 2024 00:51
@anderson-oki anderson-oki self-assigned this Jul 5, 2024
@anderson-oki anderson-oki requested review from morpheus65535 and removed request for morpheus65535 July 5, 2024 01:01
@anderson-oki anderson-oki marked this pull request as draft July 5, 2024 01:04
@anderson-oki anderson-oki marked this pull request as ready for review July 5, 2024 01:30
@anderson-oki
Copy link
Collaborator Author

@morpheus65535 Can you check if you want to update the screenshots with something specific? They will be used for Rich PWA install.

@anderson-oki anderson-oki changed the title Added vite pwa Fixed vite PWA not registered Jul 5, 2024
@anderson-oki anderson-oki changed the title Fixed vite PWA not registered Fixed PWA not registered Jul 5, 2024
@anderson-oki anderson-oki merged commit 3a9e65c into development Jul 5, 2024
2 checks passed
@anderson-oki anderson-oki deleted the feature/add-vite-pwa branch July 5, 2024 21:43
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.

1 participant