[DigitalPoint] PWA - Xenforo 2

[DigitalPoint] PWA - Xenforo 2 1.2.4

[DigitalPoint] PWA - Xenforo 2.webp


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)
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).
 

Attachments

Back
Top Bottom