...
Bloc de code | ||
---|---|---|
| ||
PWA_APP_NAME = "Pod" PWA_APP_DESCRIPTION = _( "Pod is aimed at users of our institutions, by allowing the publication of " "videos in the fields of research (promotion of platforms, etc.), training " "(tutorials, distance training, student reports, etc.), institutional life (video " "of events), offering several days of content." ) PWA_APP_THEME_COLOR = "#0A0302" PWA_APP_BACKGROUND_COLOR = "#ffffff" PWA_APP_DISPLAY = "standalone" PWA_APP_SCOPE = "/" PWA_APP_ORIENTATION = "any" PWA_APP_START_URL = "/" PWA_APP_STATUS_BAR_COLOR = "default" PWA_APP_DIR = "ltr" PWA_APP_LANG = "fr-FR" |
Pour en savoir plus : https://github.com/silviolleite/django-pwa
Notifications push
Afin de permettre à l'application d'envoyer aux utilisateurs des notifications natives, il est nécessaire de générer une paire de clés VAPID, par exemple avec des outils tels que https://web-push-codelab.glitch.me/
...