[DigitalPoint] PWA

xF2 Add-on [DigitalPoint] PWA 1.2.5

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Additional Requirements
Attribution 4.0 International (CC BY 4.0) https://creativecommons.org/licenses/by/4.0/
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)

IMG_5735.jpeg



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).
Author
Admin
Size
23.3 KB
Extension
zip
Downloads
13
Views
1,719
First release
Last update

More resources from Admin

Latest updates

  1. 2.3 fix

    Fixed issue where bringing the app to front wouldn't update counters in XenForo 2.3
  2. XenForo 2.3 compatibility

    Changed JavaScript to work regardless if XenForo core JavaScript is lazy loaded or not (2.3...
  3. Handles Safari/iOS PWA's security requirements that push subscribe requires a user gesture

    By default XenForo relies on a browser being willing to subscribe to push notifications if the...

Similar resources

[DigitalPoint] App for Cloudflare® Admin
Configure and manage Cloudflare from within XenForo.
[DigitalPoint] Better Google Analytics Admin
Extends Google Analytics to "track all the things".
[DigitalPoint] Cloudflare Admin
Configure and manage Cloudflare from within XenForo.
[DigitalPoint] FileSystem Admin
Local Cluster and Data Registry filesystem adapters
[DigitalPoint] Security & Passkeys Admin
Addon to help users keep their account secure.
731Threads
2,286Messages
63,723Members
coptanLatest member
Back