[GH-ISSUE #825] [Feature Request] Support multi-user awareness in ntfy-android #581

Open
opened 2026-05-07 00:25:35 +02:00 by BreizhHardware · 0 comments

Originally created by @OneDeuxTriSeiGo on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/825

💡 Idea

Android provides a mechanism for marking a service, receiver, or provider to only run on user 0 and for all requests to that service, receiver, or provider to be routed to the one on user 0 rather than within the current user [1].

If ntfy was to take advantage of this, users who segregate their apps between user profiles (as is common with GrapheneOS for example) would be able to still keep one ntfy distributor locally and one connection back to the ntfy server rather than requiring one instance per user.

💻 Target components

Android App.


I may be able to eventually try writing up a PR implementing this functionality but it'll likely be a decent while before I do so.

  1. https://source.android.com/docs/devices/admin/multiuser-apps
Originally created by @OneDeuxTriSeiGo on GitHub (Jul 28, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/825 <!-- 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 --> :bulb: **Idea** <!-- Share your thoughts; try to be detailed if you can --> Android provides a mechanism for marking a service, receiver, or provider to only run on user 0 and for all requests to that service, receiver, or provider to be routed to the one on user 0 rather than within the current user [1]. If ntfy was to take advantage of this, users who segregate their apps between user profiles (as is common with GrapheneOS for example) would be able to still keep one ntfy distributor locally and one connection back to the ntfy server rather than requiring one instance per user. :computer: **Target components** <!-- Where should this feature/enhancement be added? --> <!-- e.g. ntfy server, Android app, iOS app, web app --> Android App. ---- I may be able to eventually try writing up a PR implementing this functionality but it'll likely be a decent while before I do so. 1. https://source.android.com/docs/devices/admin/multiuser-apps
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#581
No description provided.