mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1176] web view works, but android app doesn't #830
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#830
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 @umk0m1qk on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1176
Describe the bug
web view works, but android app doesn't
Components impacted
android app
Screenshots and/or logs
See log attached
This is a log of the ntfy.txt
Additional context
Steps to reproduce:
@wunter8 commented on GitHub (Sep 2, 2024):
That's not how UnifiedPush works. ntfy forwards the messages received on the UnifiedPush topic to the app that registered the topic behind the scenes. You won't see anything in the ntfy app for UP messages. If the messages sent to the UP topics are not in the correct format, the UP app that registered the topic will not display a notification either. The only way to test a UP topic is to trigger a notification in that app (e.g., send/receive a message in 0xChat that should trigger a notification)
@umk0m1qk commented on GitHub (Sep 2, 2024):
Thanks for the response. I'm a bit confused, though, because the topic link we are sending test messages to using $ curl -d is the UP topic link generated from within Amethyst by selecting "ntfy" as the push notification option. If I'm understanding you correctly, we shouldn't be able to send anything to this link except UP from the originating app (Amethyst), and yet, we can from terminal and the messages show in the ntfy web app.
The reason we're exploring this is because UP from Amethyst (and 0xchat) paired with ntfy is not working at all - zero push notifications are arriving on the above described device.
@wunter8 commented on GitHub (Sep 2, 2024):
You can send stuff to the topic using curl, but it won't create a visible notification on your phone because it's not in the format Amethyst is expecting.
Yes, you can see the notifications in the web browser if you manually subscribe to the randomly generated topic url. You'd be able to see both Amethyst's notifications (in their proper format) and your manual notifications.
If neither UP app is working, it seems something is misconfigured. Do you have auth set up on your server? If so, did you create the anonymous write up* auth rule?
If that's not the issue, it could be that your
base-urlisn't configured properly.(If you can, Discord is often better for troubleshooting problems like this)