[GH-ISSUE #1124] Issue with Self-Hosted Ntfy Server and Self-Developed iOS Ntfy App Unable to Receive Instant Notifications #790

Open
opened 2026-05-07 00:27:34 +02:00 by BreizhHardware · 0 comments

Originally created by @leochenchiayu on GitHub (May 30, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1124

Question

We built our self-hosted ntfy server and developed our own iOS app using the ntfy iOS source code. We verified that the iOS device can receive instant notifications from APNS and Firebase. Additionally, we confirmed that we can use the Firebase Python API with a key file to push notifications successfully.

However, we encountered an issue when we followed the ntfy documentation and added the line firebase-key-file: "/etc/ntfy/my-adminsdk-nkruw-4712500.json" in server.yml. This method does not work.The iOS device was not able to receive instant notifications. Only after refreshing, it could get previous messages. Therefore, We have confirmed that the problem lies between the server and Firebase since other methods (APNS, Firebase, Firebase Python API) work.

We checked the log but didn't find any errors. It only shows that the message was sent to Firebase. We are wondering if there is something missing in the server.yml configuration or if there are other problems. Is there any method to check if the messages are successfully sent to Firebase?

Originally created by @leochenchiayu on GitHub (May 30, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1124 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :question: **Question** <!-- Go ahead and ask your question here :) --> We built our self-hosted ntfy server and developed our own iOS app using the ntfy iOS source code. We verified that the iOS device can receive instant notifications from APNS and Firebase. Additionally, we confirmed that we can use the Firebase Python API with a key file to push notifications successfully. However, we encountered an issue when we followed the ntfy documentation and added the line firebase-key-file: "/etc/ntfy/my-adminsdk-nkruw-4712500.json" in server.yml. This method does not work.The iOS device was not able to receive instant notifications. Only after refreshing, it could get previous messages. Therefore, We have confirmed that the problem lies between the server and Firebase since other methods (APNS, Firebase, Firebase Python API) work. We checked the log but didn't find any errors. It only shows that the message was sent to Firebase. We are wondering if there is something missing in the server.yml configuration or if there are other problems. Is there any method to check if the messages are successfully sent to Firebase?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#790
No description provided.