Hello, I have read lots of Issues concerning the Topic of Push Notifications on iOS, and Mobile in General all around HumHub, and guess I understand the difficulties.
First of all, I know that the future solution of all those notification problems will be the native/flutter mobile app. But as this topic hasn’t been resolved until today for some years for iOS, I still try to figure out a way using PWA. This leads to my first question: Is there a TestFlight link for supporting the testing process of the iOS app?
One of the difficulties, especially in the iOS PWA seems to be the active user interaction required for requesting the push notification permission. This phenomenon also appeared on a Samsung device with the latest OS version. I have been able to proof, that the missing permission results in this requirement, as I added a simple JavaScript button to a custom page triggering the push notification permission request. After some tweaking of CSP, I have been able to try this and have been able to grant the permission successfully. The only further problem here is, that the firebase push notification handler would have to be called here as well, which I haven’t been able to do from this point of code.
So a pretty obvious way to solve this problem would be a dialogue, appearing on the first start of the PWA or a simple message in the dashboard or settings, providing a button to trigger the permission requesting process with real user interaction.
is there a way to implement this functionality temporary using a custom module until it is completely implemented in this module?
thanks,
Jannis
Hello, I have read lots of Issues concerning the Topic of Push Notifications on iOS, and Mobile in General all around HumHub, and guess I understand the difficulties.
First of all, I know that the future solution of all those notification problems will be the native/flutter mobile app. But as this topic hasn’t been resolved until today for some years for iOS, I still try to figure out a way using PWA. This leads to my first question: Is there a TestFlight link for supporting the testing process of the iOS app?
One of the difficulties, especially in the iOS PWA seems to be the active user interaction required for requesting the push notification permission. This phenomenon also appeared on a Samsung device with the latest OS version. I have been able to proof, that the missing permission results in this requirement, as I added a simple JavaScript button to a custom page triggering the push notification permission request. After some tweaking of CSP, I have been able to try this and have been able to grant the permission successfully. The only further problem here is, that the firebase push notification handler would have to be called here as well, which I haven’t been able to do from this point of code.
So a pretty obvious way to solve this problem would be a dialogue, appearing on the first start of the PWA or a simple message in the dashboard or settings, providing a button to trigger the permission requesting process with real user interaction.
is there a way to implement this functionality temporary using a custom module until it is completely implemented in this module?
thanks,
Jannis