mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #940] iOS issues when showing notifications content #659
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#659
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Knocks83 on GitHub (Nov 7, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/940
🐞 Describe the bug
Sometimes on iOS there are issues showing the notification content: I always DO receive it, but sometimes it only shows "New message".
When I open the app and try refreshing the notifications, I still cannot see them (even though I set a cache file).
💻 Components impacted
Self-hosted ntfy server (Docker), iOS
💡 Screenshots and/or logs
🔮 Additional context
I did set a cache file, but I didn't set the caching time (so it should be 12h). The notification screenshot is kinda old and I checked in-app only today (so more than 12h later).
I did set the "upstream-base-url" to ntfy, and I did set the "base-url". The service is behind a reverse proxy, but I don't think it's a problem, because sometimes the notifications do work.
The 6 notifications in the screenshot got sent by 3 different devices and 6 different users.
@Javiito32 commented on GitHub (Nov 10, 2023):
Hello, I am experiencing the same problem, I have been able to verify in my case, that it only happens with a different priority than the default one.
@kWAYTV commented on GitHub (Nov 10, 2023):
lucky you, i dont even get them to reach my phone xd
@Knocks83 commented on GitHub (Nov 10, 2023):
@Javiito32 weird, I'll try setting the priority to normal on one of my servers to check it out
@binwiederhier commented on GitHub (Nov 16, 2023):
@Knocks83 What you are experiencing are two different things.
The fact that you cannot see notifications in the UI is a long standing bug that was just fixed in the TestFlight version of the app. You may try out the beta version here:
The fact that you are seeing "New message" means that your iPhone cannot reach your selfhosted ntfy server. This dynamic is explained here: https://ntfy.sh/docs/config/#ios-instant-notifications
@kWAYTV commented on GitHub (Nov 16, 2023):
at least i'm trying it with no luck
@Knocks83 commented on GitHub (Nov 16, 2023):
@binwiederhier
I don't think that's the issue, I followed the Javiito32 suggestion and switched to default priority for one server, and now it works just fine. You have also to consider that my three servers send notifications to the same ntfy server (which is accessible on the Internet), and since I made that change I now can see the notifications from 1 of 3 servers. If connectivity was the issue, I shouldn't be able to see that one server's notifications.
Regarding the ios-instant-notifications guide, I followed it when I set the server up. Since I only send/receive 6 notifications per day, I didn't set the api key.
I'll try installing the testflight version and checking whether it'll fix this issue too.
@Knocks83 commented on GitHub (Nov 19, 2023):
Update: no luck on my side, the new version doesn't fix this issue. For now I'll just edit all my notifications and stop adding the priority header.
Just for reference, following are the before and after of the cURL I make to send notifications:
@wunter8 commented on GitHub (Nov 19, 2023):
@Knocks83 I'm pretty sure the priority issue will be fixed by the next server release. I don't think it was supposed to be fixed just in the new TestFlight version
@kWAYTV commented on GitHub (Nov 20, 2023):
Confirmed the beta app fixed the notifications issue for me now.