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

Add version system and service worker update mechanism #4

Open
imlolman opened this issue Jun 8, 2023 · 0 comments
Open

Add version system and service worker update mechanism #4

imlolman opened this issue Jun 8, 2023 · 0 comments

Comments

@imlolman
Copy link

imlolman commented Jun 8, 2023

There currently appears to be no versioning system in place for the service worker. Implementing such a system could offer multiple benefits, including easier tracking of changes and fixes, improved compatibility issue management, and a clearer understanding of the SDK's chronological progression.

In addition, the SDK seems to lack a method for updating the service worker on demand. Ideally, it would be useful to have a function that sends a new version of the service worker along with the push notification. If the version of the received service worker doesn't match the current one, the service worker should then update itself. This would allow every user's service worker to be updated as needed, ensuring the latest, most secure, and feature-packed version is always in use.

Is there a possibility to introduce these features in the perfecty-push-js-sdk? If these functionalities already exist, it would be helpful to know where they are documented or how they can be implemented.

Thank you for your consideration.

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

No branches or pull requests

1 participant