Skip to content
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

iOS TestFlight Beta OR working notifications on iOS?! #253

Open
jannis6023 opened this issue Nov 10, 2024 · 2 comments
Open

iOS TestFlight Beta OR working notifications on iOS?! #253

jannis6023 opened this issue Nov 10, 2024 · 2 comments

Comments

@jannis6023
Copy link

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

@ArchBlood
Copy link

I believe you mean grant statuses which is being discussed over in humhub/fcm-push#24 as for the implementation part, I currently haven't the time to update the JavaScript side of things that are needed for this to fully function as requested. You can find the P/R here humhub/fcm-push#44.

@marc-farre
Copy link
Collaborator

@jannis6023 Thanks for your analysis.
PWA if not the solution for iOS, at least outside Europe: https://www.mobiloud.com/blog/progressive-web-apps-ios
Moreover, when you receive an email notification, clicking on the "View online" button opens HumHub in the browser instead of the PWA, which is confusing for users.

The HumHub iOS app is fully functional, but not approved by Apple because they ask us to introduce exclusive features that the web version don't have.
If you want to test it, you can send me your email by private message on https://community.humhub.com/u/cuzy.app/home
Feedbacks are very welcome!

Up to now, we worked to resolve all main issues with the mobile app, and we now have something quite stable, except issue #89 which must first be fixed.

Then we will work on #79 and #10, and submit HumHub iOS app for review again.

It's always very difficult to give dates, but our goal is to have this iOS app in the store by the end of 2024.

I'm closing this issue as:

You can reopen it if I missed something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants