-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for iOS 16.4 beta webkit safari web push notifications #17
Comments
Thanks for the information, that is really very interesting and nice that we can soon offer push for IOS devices. |
@luke- Hi Luke, any update on this? |
I tried looking into this as i need this feature for a bigger project with multiple Humhub instances too. But it seems that the notification dialog is triggered by Humhub itself and this plugin has not much say in this. AFAIK this file is responsible for opening the browser API dialog on non-iOS platforms https://github.com/humhub/humhub/blob/b58125e818579b7549bbc0da67ea4dbf703eea19/static/js/desktop-notify-min.js Webpush on iOS only works in a Progressive Web App ("Add to Homescreen") and needs to be triggered by the user within the web interface not the normal browser API dialog. Currently the browser API dialog just fires as soon as someone opens up the login screen so iOS just denies it by default i think. @luke- The iOS version of the app is coming at some point i assume so this feature most likely won't get much priority? |
@zrknlzr The IOS app should already have a working push notification support. But it would be nice to have a button in the notification settings to ask for the permission for push notifications again. |
Thanks Luke. Have you tried it? Is it working just like an iOS app notification? Can you share an article in Humhub community on how to enable it and how well it works? I think many members would like to know this, thank you. |
Yes, the push notifications work with the https://github.com/humhub/app app and the FCM push module. No special configuration is required for IOS. |
@luke- Good news the iOS build is making progress. But as the iOS build isn't in the App Store yet and WebPush isn't working in the PWA there isn't really much we can do about getting Notifications on to users iPhones at the moment i guess. I would love to contribute to this but got no idea how to approach it? |
Hi together, is there anything new in this topic here? We would love to use humhub, but push notifications are a must-have! |
With the introduction of the long-awaited support for web push notifications in safari for iOS in the 16.4 beta 1 update will be able to work just as good on iPhones as on android devices.
However webkit has some requirements for it to work:
The text was updated successfully, but these errors were encountered: