[DigitalPoint] PWA

[DigitalPoint] PWA 1.2.5.1

No permission to download
If you have shell access, see if you can run curl from the shell. Then you can at least know if it’s an overall server thing or limited to PHP.

Either way it’s an underlying network connectivity issue with the server.
 
@digitalpoint can we disable this for browsers? It's annoying...
Well just as easy an a setting, you could toggle off the helper_js_global template modification it does and it will stop that.

Hi @digitalpoint,

Would this add-on need any XF 2.3 adjustments to work properly?

I don't see any errors, but I'm unsure about the add-on's code vs. XF 2.3 changes.

Thanks
I haven't tested it exhaustively, but there's nothing I can think of that would pop up. The JavaScript was already migrated away from jQuery a couple versions ago.
 
I haven't tested it exhaustively, but there's nothing I can think of that would pop up. The JavaScript was already migrated away from jQuery a couple versions ago.
It needs an update unfortunately; if you enable it and open the console on any XF page you'll see:
Safari:
Code:
TypeError: undefined is not an object (evaluating 'XF.Push.updateUserSubscription')
Chromium:
Code:
TypeError: Cannot read properties of undefined (reading 'updateUserSubscription')
 
One of my members has been using the app without issue via an Android phone for a year or more. He recently bought a new Android phone and although he's got push notifications enable in his preferences, he is not getting notifications now. He never got the option to install/activate push notifications on his new Android device as he originally did. I have had him clear his caches, log in and out of the site, check his Preferences to make sure push notifications are enabled, but none of those have fixed his issue.

Anyone got any suggestions?
 
One of my members has been using the app without issue via an Android phone for a year or more. He recently bought a new Android phone and although he's got push notifications enable in his preferences, he is not getting notifications now. He never got the option to install/activate push notifications on his new Android device as he originally did. I have had him clear his caches, log in and out of the site, check his Preferences to make sure push notifications are enabled, but none of those have fixed his issue.

Anyone got any suggestions?
Probably a question better suited for XenForo in general... this addon doesn't change any of that default functionality regarding push notifications, so...
 
@digitalpoint I want to ask something. When someone use report button and click somewhere else, it's stored data is disappears. For example, I wrote many things in the report, but when I click somewhere else and close and open the window, the data stored in the window disappears. Can we solve this issue please?
 
@digitalpoint I want to ask something. When someone use report button and click somewhere else, it's stored data is disappears. For example, I wrote many things in the report, but when I click somewhere else and close and open the window, the data stored in the window disappears. Can we solve this issue please?
You could do it with a change to the Report link, but that’s the behavior XF uses PWA or not. That’s nothing to do with PWA app, so that’s outside the scope of what this addon will do.
 
You could do it with a change to the Report link, but that’s the behavior XF uses PWA or not. That’s nothing to do with PWA app, so that’s outside the scope of what this addon will do.

But while the report content is stored when the PWA add-on is not active, clicking on the report while the PWA add-on is active does not store the report content because the page is refreshed. I think it's happening because of that:

  • 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)
 
But while the report content is stored when the PWA add-on is not active, clicking on the report while the PWA add-on is active does not store the report content because the page is refreshed. I think it's happening because of that:
The page doesn’t refresh, an underlying AJAX request is made. Does the Report system work as you want if you disable this addon?
 
Hello

Is there any reason the usual image doesnt appear with this addon just like the normal XF one.
Maybe im missing something ?

Sorry, referring to the gif image when clicking on the app link.
 
Server error log
  • ErrorException: Debug: User push subscription change
  • src/XF/Error.php:82
  • Generated by: x
  • Nov 21, 2024 at 10:34 PM

Stack trace​

#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(SV\SignupAbuseBlocking\XF\Pub\Controller\Misc), NULL)
#4 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\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(2826): XF\Mvc\Dispatcher->run()
#7 src/XF.php(806): XF\App->run()
#8 index.php(23): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state​

array(4) {
["url"] => string(40) "/index.php?misc/update-push-subscription"
["referrer"] => string(100) "https://forum.x.com/threads/released-china-16-10-server-files-and-client-files.1236379/page-2"
["_GET"] => array(1) {
["misc/update-push-subscription"] => string(0) ""
}
["_POST"] => array(0) {
}
}
it got referenced once before but i am being spammed with this now. I cannot wrap my head as to why
 
Back
Top Bottom