mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #261] Android Notification not opening the right topic #202
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#202
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 @SMAW on GitHub (May 16, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/261
I think this is a bug, but when I leave the Android app in /topic1 and receive an notification for /topic2 and click on the notification, the app opens in /topic1 and not /topic2 as expected.
@wunter8 commented on GitHub (Jun 5, 2022):
I was not able to reproduce this. Can you send a video/screencast showing the problem @SMAW?
@binwiederhier commented on GitHub (Jun 5, 2022):
It happens to me too. It's definitely real. Not sure what's going on. I'll try to send you some details later.
@binwiederhier commented on GitHub (Jun 19, 2022):
I tried this too in the emulator but I couldn't reproduce it there either. I've definitely seen this happen.
@wunter8 commented on GitHub (Aug 27, 2022):
After some testing today, it seems like whenever you click on a notification, it will open whatever topic that received the most recent notification. It doesn't seem to care about what topic you were looking at before or what notification you clicked on.
For example, after running
curl localhost:8000/topic1; curl localhost:8000/topic2; curl localhost:8000/topic3, the app will open totopic3when you click on any of the three notifications, even if you dismiss thetopic3notification before clicking on one of the other notifications.I'm going to try digging into the code to figure out why this is
@binwiederhier commented on GitHub (Nov 27, 2022):
I can confirm that this happens in the SDK 33 emulator.
@binwiederhier commented on GitHub (Nov 28, 2022):
Fixed here:
github.com/binwiederhier/ntfy-android@3d1d062f4d