Those are apps you’re thinking of. The purpose of this extension is solely to push notifications to web browsers. It works on all desktop systems and modern browsers, including Android with its modern browsers. However, browser notifications do not work on iOS/Safari unless you save the web page as a bookmark on your home screen.
We are not pursuing badges on iOS app icons. This is primarily because all we are doing here is sending push notifications. Badges in iOS would require some sort of background sync API between the device and the site, well beyond the scope of this extension. At that point you're building a progressive web app, which some other extension could attempt to do one day perhaps.
Badges were never present on iOS. It takes a dedicated software solution to enable badges on app icons on iOS.
Users can either go to their notification settings to enable it, or enable it from their notifications dropdown menu. It's a preference.wads24 wrote: ↑Thu Jul 18, 2024 1:14 pm What a great idea?
I can't wait for the official release of this extension for browser push notifications.One question I do have is that I don't see the install prompt on my Android phone unless I click the admin link. Is that by design, or am I missing something in the setup?Is there another way to prompt users to enable push notifications rather than going to the user control panel? I think a lot of visitors have issues finding things in the user control panel.Can it be set to prompt users to enable notifications when they log into the website versus having to go to the user control panel and click enable?
I don't know about Android phones but, with a forum, you can create a post/announcement to explain to your users how they can make use of push notifications, such as letting them know that iOS devices do not support them unless they add your site to their home screens, if they don't already know this.wads24 wrote: ↑Fri Jul 19, 2024 4:26 am Thanks for your reply.
What about installing a website app on Android phones? I noticed that the prompt to install the app for the website will only drop down from the top of the phone if you click on the admin link for phpBB. Is there a setting that can be changed to prompt the installation of the PWA app on the index page instead of the admin sign-in link?
Code: Select all
webpush.js?assets_version=1033:84
Uncaught
TypeError: Cannot read properties of null (reading 'disabled')
at handleDisabledState (webpush.js?assets_version=1033:84:23)
at PhpbbWebpush.init (webpush.js?assets_version=1033:75:3)
at HTMLDocument.<anonymous> (webpush.js?assets_version=1033:321:16)
webpush.js?assets_version=1033:68
TypeError: Cannot read properties of null (reading 'addEventListener')
at webpush.js?assets_version=1033:62:22
webpush.js?assets_version=1033:70
Uncaught (in promise)
TypeError: Cannot set properties of null (setting 'disabled')
at webpush.js?assets_version=1033:70:31
192x192.png:1
GET https://testforum.com/app.php/images/icons/192x192.png 404 (Not Found)
posting.php:1
Error while trying to use the following icon from the Manifest: https://testforum.com/app.php/images/icons/192x192.png (Download error or resource isn't a valid image)
www.mysite.com/viewtopic.php...
instead of www.mysite.com/myforum/viewtopic...
.