mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1582] Android app crashes when URL scheme is missing #1111
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#1111
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 @hard-zero1 on GitHub (Jan 31, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1582
🐞 Describe the bug
When no URL scheme is given in the default server setting (e.g. "unifiedpush.kde.org" instead of "https://unifiedpush.kde.org") and then another app registers a topic via UnifiedPush, the ntfy app crashes immediately when trying to open it. It's then not possible to add a scheme anymore, even if you know that's the problem.
💻 Components impacted
Android app, version 1.22.2
💡 Screenshots and/or logs
Log from the crash obtained via adb logcat:
🔮 Additional context
I changed the default server to "unifiedpush.kde.org" and then installed Foss Warn, tried to add a place there and got an error. The Foss Warn self-check reported a problem with notifications. So I tried to open ntfy and it immediately crashed every time (I believe there was a second/new topic in the list that was briefly visible, additional to one registered before changing the default server). After reinstalling ntfy and changing the default server to "https://unifiedpush.kde.org" (after seeing from the logs what the problem was) everything worked fine and I could setup Foss Warn without errors.
@binwiederhier commented on GitHub (Feb 2, 2026):
Thank you for reporting. Fixed in https://github.com/binwiederhier/ntfy-android/pull/158