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

PWA - First class support for Progressive Web App development #3931

Open
elviskahoro opened this issue Sep 16, 2024 · 0 comments
Open

PWA - First class support for Progressive Web App development #3931

elviskahoro opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working feature request A feature you wanted added to reflex

Comments

@elviskahoro
Copy link
Member

From greg via Discourse:
https://forum.reflex.dev/t/pwa-progressive-web-app-development/382

Is there a working method to fully apply on reflex webapp to convert it to PWA in particular to enable push notifications (on any device)?

As far as I know to convert a webapp to pwa and enabling push notifications include these steps:

(1) Creating manifest.json file (metadata about the app)
-(a) app_name, icon, start_url …
(2) Service Worker (cache assets - and this is responsible to push notifications)
(a) register service worker
(3) Event Listener (handling notification):
-(a) request permission from the user
-(b) add the event listener to show notification
Is there a working method that would enable my reflex webapp to convert into PWA with enabled push notification on any user device such as: PC/Tablet/iphone/Android?

@elviskahoro elviskahoro added bug Something isn't working feature request A feature you wanted added to reflex labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request A feature you wanted added to reflex
Projects
None yet
Development

No branches or pull requests

1 participant