[DigitalPoint] PWA

xF2 Add-on [DigitalPoint] PWA 1.2.4

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
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.4 KB
Extension
zip
Downloads
12
Views
1,628
First release
Last update

More resources from Admin

Latest updates

  1. XenForo 2.3 compatibility

    Changed JavaScript to work regardless if XenForo core JavaScript is lazy loaded or not (2.3...
  2. 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...
  3. Removed dependency on jQuery

    All JavaScript has been rewritten to be "native" (does not use jQuery) in preparation for...

Similar resources

[DigitalPoint] App for Cloudflare® Admin
Configure and manage Cloudflare from within XenForo.
0.00 star(s) 0 ratings
Downloads
31
Updated
[DigitalPoint] Better Google Analytics Admin
Extends Google Analytics to "track all the things".
0.00 star(s) 0 ratings
Downloads
31
Updated
[DigitalPoint] Cloudflare Admin
Configure and manage Cloudflare from within XenForo.
0.00 star(s) 0 ratings
Downloads
19
Updated
[DigitalPoint] FileSystem Admin
Local Cluster and Data Registry filesystem adapters
0.00 star(s) 0 ratings
Downloads
2
Updated
[DigitalPoint] Security & Passkeys Admin
Addon to help users keep their account secure.
0.00 star(s) 0 ratings
Downloads
17
Updated