[GH-ISSUE #1088] Android: Airplane mode detection: When no network available: never try to sync #760

Closed
opened 2026-05-07 00:27:16 +02:00 by BreizhHardware · 1 comment

Originally created by @ghost on GitHub (Apr 15, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1088

🐞 Describe the bug

ntfy tries every 2 minutes to connect to the server even though there aren't any networks online (airplane mode + WLAN off)

💻 Components impacted

The Android app

🔮 Additional context

I started using RethinkDNS 0.5.5e: that's when I noticed all the apps that tried to connect when Android was offline

Maybe Jonas Kalderstam's approach can be somewhat useful here too: github.com/spacecowboy/Feeder@166390e5d1

Originally created by @ghost on GitHub (Apr 15, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1088 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> _ntfy_ tries every 2 minutes to connect to the server even though there aren't any networks online (airplane mode + WLAN off) :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> The _Android app_ :crystal_ball: **Additional context** <!-- Add any other context about the problem here. --> I started using _RethinkDNS_ 0.5.5e: that's when I noticed all the apps that tried to connect when Android was offline Maybe _Jonas Kalderstam_'s approach can be somewhat useful here too: https://github.com/spacecowboy/Feeder/commit/166390e5d16f67bbd3e13eaa5b2710d9bceeed74
BreizhHardware 2026-05-07 00:27:16 +02:00
Author
Owner

@Mikaela commented on GitHub (Apr 16, 2024):

I think this is also tracked at https://github.com/celzero/rethink-app/issues/1157 which contains a couple of other apps with workarounds for airplane mode + Rethink.

<!-- gh-comment-id:2058863070 --> @Mikaela commented on GitHub (Apr 16, 2024): I think this is also tracked at https://github.com/celzero/rethink-app/issues/1157 which contains a couple of other apps with workarounds for airplane mode + Rethink.
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#760
No description provided.