[DigitalPoint] PWA

[DigitalPoint] PWA 1.2.5.1

No permission to download
Hi. Could you please add a toggle button for "Automatic refresh of badge counters when app is loaded/brought to front" in Settings > Preferences, allowing forum members to enable or disable it as they wish? Because some forum members using devices with 4 GB RAM reported that this feature increases memory usage and causes slowdowns when multiple tabs are opened. @digitalpoint
Honestly, probably not something I would have added as a per-user setting. Maybe site-wide, but it's also not terribly difficult to take it out via a template edit. Mainly because I think adding too many granular settings for users, and you end up with zillions of settings and eventually users have a hard time finding what they are even wanting to change.

That being said, XenForo 2.4 has incorporated this addon, so you aren't going to need to have it installed anymore.

 
Hi, can you tell me if it's possible to display the default theme modal on themes other than XF's default theme?

img_5735-webp.288881
 
Hi, can you tell me if it's possible to display the default theme modal on themes other than XF's default theme?
Not really sure what you are asking, but this addon doesn't change the fundamentals with how XenForo works/looks.
 
Not really sure what you are asking, but this addon doesn't change the fundamentals with how XenForo works/looks.
Hi, on my UI.X or AC.UI theme, the modal for subscribing to notifications isn't appearing as shown in the picture above.

Is there a way to activate it?
 
Hi, on my UI.X or AC.UI theme, the modal for subscribing to notifications isn't appearing as shown in the picture above.

Is there a way to activate it?
Sorry, I don't have any idea what UI.X/AC.UI is. If a theme doesn't have the same mechanisms to work like default XF, you will need to talk to the theme author. This addon is designed to work with normal the XenForo style.

Also, it might make sense to wait until XenForo 2.4, as this addon is being rolled into XenForo core.
 
Code:
rrorException: Debug: User push subscription change src/XF/Error.php:81
Ekleyen: seeraddar 1 Aralık 2025 16:40
Yığın Takibi
#0 src/XF.php(266): XF\Error->logError('Debug: User pus...', false)
#1 src/addons/DigitalPoint/PWA/XF/Pub/Controller/Misc.php(21): XF::logError('Debug: User pus...')
#2 src/XF/Mvc/Dispatcher.php(362): DigitalPoint\PWA\XF\Pub\Controller\Misc->actionUpdatePushSubscription(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'UpdatePushSubsc...', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\XF\Pub\Controller\Misc), NULL)
#4 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\XF\Pub\Controller\Misc), NULL)
#5 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#7 src/XF.php(806): XF\App->run()
#8 index.php(23): XF::runApp('XF\\Pub\\App')
#9 {main}
Talep Yeri
array(4) {
  ["url"] => string(47) "/sosyal/index.php?misc/update-push-subscription"
  ["referrer"] => string(93) "https://techolay.net/sosyal/konu/geometride-ucgenler-icin-yaptigim-calisma-yeterli-mi.162755/"
  ["_GET"] => array(1) {
    ["misc/update-push-subscription"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Code:
rrorException: Debug: User push subscription change src/XF/Error.php:81
Ekleyen: seeraddar 1 Aralık 2025 16:40
Yığın Takibi
#0 src/XF.php(266): XF\Error->logError('Debug: User pus...', false)
#1 src/addons/DigitalPoint/PWA/XF/Pub/Controller/Misc.php(21): XF::logError('Debug: User pus...')
#2 src/XF/Mvc/Dispatcher.php(362): DigitalPoint\PWA\XF\Pub\Controller\Misc->actionUpdatePushSubscription(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Misc', 'UpdatePushSubsc...', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\XF\Pub\Controller\Misc), NULL)
#4 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\XF\Pub\Controller\Misc), NULL)
#5 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#7 src/XF.php(806): XF\App->run()
#8 index.php(23): XF::runApp('XF\\Pub\\App')
#9 {main}
Talep Yeri
array(4) {
  ["url"] => string(47) "/sosyal/index.php?misc/update-push-subscription"
  ["referrer"] => string(93) "https://techolay.net/sosyal/konu/geometride-ucgenler-icin-yaptigim-calisma-yeterli-mi.162755/"
  ["_GET"] => array(1) {
    ["misc/update-push-subscription"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Turn off the debugging option if you don’t want to log debugging info. It’s off by default.
 
Is there a way to find out how many members have installed PWA on our XF forum? Would love to be able to see the stats and find out way to encourage more to install them.
 
Is there a way to find out how many members have installed PWA on our XF forum? Would love to be able to see the stats and find out way to encourage more to install them.
Not directly because it's a client-side thing, but you can do it with whatever client-side analytics system you use, for example Google Analytics:

Track PWA usage and related events

 
I have both on my forum. How exactly do I track PWA usage, please? Thanks
I see in this addon FAQ a code to use for a notice. Would this show to people who haven't installed PWA?
 
You can report on the app_open even in Google Analytics. That event is sent to Google Analytics whenever someone opens the PWA app on their device.
I follow some google instruction on how to generate this report and the only event similar is app_install. I don't see app_open event on the filter list.
 
Not sure why the app_open event wouldn't be firing for you, but I also just remembered it attaches a pwa user dimension to every event (probably more useful anyway).

In Google Analytics, check Admin -> Custom dimensions. If PWA isn't in there already, hit "Create custom dimension" and you should be able to create a User scoped dimension with the user property pwa. Then any report can be filtered so pwa=1 would reflect anything coming through PWA app.
 
Back
Top Bottom