- Compatible versions
- 2.2
This addon adds a few things that I felt were missing from XenForo's PWA app:
Some things to note:
- 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 a replacement for CSRF with a fallback to CSRF if the browser doesn't support Sec-Fetch-Site (prevent stale sessions from causing security error message)
- Automatic refresh of badge counters when the app is loaded/brought to front (this also applies to the site when being used in a normal browser)
- Give a more prominent push notification permission message when initially loading the app (see screenshot for example)
- Allow editing 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
- Do some individually small things to try and keep push subscription records from being lost
Some things to note:
- While this works in the testing I've done, I'm going to call it a beta for now. If there are any issues in setups different than my own, I'll address them as needed, but just to be safe, let's call it a beta for now.
- In exchange for being free, this addon has a single attribution link buried on the bottom of XenForo's Help -> Privacy policy page (there are no site-wide or footer links).