mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1305] No push notifications on ios? #925
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#925
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 @yves-chevallier on GitHub (Mar 30, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1305
🐞 Describe the bug
I'm new to ntfy and recently installed the iOS app (version 1.3 (4)) on iOS 18.3.2. I subscribed to a topic and then published a message using
curl -d "hi" ntfy.sh/mytopic, but I did not receive any notification on the iOS device.When visiting
https://ntfy.sh/mytopicin a browser, I can clearly see the message was delivered. I tested with multiple topics, all yielding the same result.To investigate further, I deployed a self-hosted ntfy instance on my own server. The messages are correctly published and viewable via the web interface, but again, nothing is received on iOS.
Eventually, I realized that manually pulling down the UI in the iOS app causes the messages to appear — suggesting the client performs a poll on refresh. However, this is not equivalent to push notifications, which I expected.
💻 Components impacted
🔮 Additional context
Is the iOS app supposed to support native push notifications via APNs or FCM?
Am I experiencing a configuration issue or is this the expected behavior on iOS?
@wunter8 commented on GitHub (Mar 31, 2025):
I would've expected you to receive push notifications for the ntfy.sh topic (as long as it was publicly accessible and not a paid-for reserved topic).
For your self-hosted instance, these are the things you need to do to get iOS push notifications to work:
base-urlconfig in server.yml or NTFY_BASE_URL in env variablesupstream-base-urlin server.yml or NTFY_UPSTREAM_BASE_URL in env variables to "https://ntfy.sh" (without a trailing slash)@yves-chevallier commented on GitHub (Mar 31, 2025):
Yes I have enabled this :
The issue is not only with this on premises instance, but with iOS.
curl -d "Hello" ntfy.sh/foobarSo it seems, the iOS app v1.3 does not work with push notifications.
@wunter8 commented on GitHub (Mar 31, 2025):
Did you copy and paste your config above?
If so, you need to change
ntfstontfyin both your urls (base and upstream)@yves-chevallier commented on GitHub (Mar 31, 2025):
Haha! My bad... copy paste issue.
However this doesn't explain why it doesn't work on the official web version.
@wunter8 commented on GitHub (Mar 31, 2025):
Does that mean it's working on your self hosted instance now?
I agree that it's strange that it's not working for the public ntfy.sh instance. You've given the app notification permissions and everything, right?
The other option is to use the PWA instead of the native iOS app. The PWA has more features and more reliable notifications than the iOS app
@yves-chevallier commented on GitHub (Mar 31, 2025):
No it is not working on either platform. I don't really have flexibility to choose the notification permissions on iOS. The only switch is "Allow Notifications" which is enabled.
I don't think PWA are allowed on iOS :(
@qupfer commented on GitHub (Apr 1, 2025):
I rember, what was not "that" easy to get it work on my iPhone.
imho, you need it behind a reverse proxy with valid ssl (lets encrypt or similar).
Configure webpush as (https://docs.ntfy.sh/config/#web-push)
Then opened it in safari and go to the page, login (if account configuerd)
And then use the "save on homescreen" fucntion of safari.
Then close it, open one times the homescreen-link and after that, it worked.
FYI my config
Edit: and posted private key public :-)
Now can I test what happend, if I rotate the key
@MacKenia commented on GitHub (Aug 27, 2025):
I also have this issue, topics added a long time ago have notifications, but recently added topics do not have notifications, and messages only appear after manually refreshing in ntfy, and I am using the official server. I resubscribed to the topics that used to receive notifications, but after resubscribing, the topics cannot receive notifications😥.
@nabule commented on GitHub (Dec 4, 2025):
I have the same problem,but bark default server everything ok
@ekiro commented on GitHub (Jan 6, 2026):
Any updates on that? I have the same issue, I used to have notifications on iOS from my self-hosted instance, but it stopped working couple of months ago.
@wunter8 commented on GitHub (Jan 6, 2026):
@ekiro When notifications were working and then suddenly stopped, some people have fixed the issue by reinstalling the ntfy app
@ekiro commented on GitHub (Jan 6, 2026):
@wunter8 I did that twice, I also setup second test instance - still no notifications
@Wanghley commented on GitHub (Feb 9, 2026):
I’m facing the same issue. My setup appears to be correct. Initially, I suspected that the bot protection on the proxy I use, Zero Trust Cloudflare, might be causing the problem. However, after removing the bot protection, the issue persists. It works when I send a test from my iPhone to the browser, but the other way around, I need to force update the app by swiping on the screen to receive the notification.
My environment setup:
@cindy2000sh commented on GitHub (Feb 10, 2026):
For me it's simply reinstall the ios app
@michaeltal commented on GitHub (Feb 11, 2026):
Fixed it for me as well!
@drewcrawford commented on GitHub (Feb 28, 2026):
Fixed it for me as well on the public instance (not self-hosted)