- Compatible XF versions
- 2.2
- 2.3
This addon adds a few things that I felt were missing from XenForo's PWA app:
If the user that is installing the PWA app is logged in, auto-log them into the PWA app (don't need to force users to log-in from scratch when they first load the installed app).
Use Sec-Fetch-Site header as replacement for CSRF with a fallback to CSRF if browser doesn't support Sec-Fetch-Site (prevent stale sessions from causing security error message)
Automatic refresh of badge counters when app is loaded/brought to front (this also applies to the site when being used in a normal browser)
Give more prominent push notification permission message when initially loading app (see screenshot for example)
Allow editing of of web app manifest JSON
Added ability to send push notices to users (Admin -> Communications -> Push users)
Adds option to enable debugging logging for things related to push notifications
Does some individually small things to try and keep push subscription records from being lost
If the user that is installing the PWA app is logged in, auto-log them into the PWA app (don't need to force users to log-in from scratch when they first load the installed app).
Use Sec-Fetch-Site header as replacement for CSRF with a fallback to CSRF if browser doesn't support Sec-Fetch-Site (prevent stale sessions from causing security error message)
Automatic refresh of badge counters when app is loaded/brought to front (this also applies to the site when being used in a normal browser)
Give more prominent push notification permission message when initially loading app (see screenshot for example)
Allow editing of of web app manifest JSON
Added ability to send push notices to users (Admin -> Communications -> Push users)
Adds option to enable debugging logging for things related to push notifications
Does some individually small things to try and keep push subscription records from being lost