[GH-ISSUE #440] Android: deep link to change default server #337

Open
opened 2026-05-07 00:23:14 +02:00 by BreizhHardware · 5 comments

Originally created by @p1gp1g on GitHub (Oct 11, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/440

Context
Some users seem to struggle to change the default server

Suggestion
Use a deeplink on android to open the dialog, prefilled with the new server.
In addition, a link to a QR code on the web app would be awesome :)

Originally created by @p1gp1g on GitHub (Oct 11, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/440 **Context** Some users seem to struggle to change the default server **Suggestion** Use a deeplink on android to open the dialog, prefilled with the new server. In addition, a link to a QR code on the web app would be awesome :)
Author
Owner

@binwiederhier commented on GitHub (Oct 11, 2022):

I am open to this, but where would we link from?

<!-- gh-comment-id:1275172755 --> @binwiederhier commented on GitHub (Oct 11, 2022): I am open to this, but where would we link from?
Author
Owner

@binwiederhier commented on GitHub (Oct 11, 2022):

So assuming the link is ntfy://settings?highlight=default-server or something similar, would you link to that from Element? Maybe you can explain the use case more, and what people struggle with.

<!-- gh-comment-id:1275174201 --> @binwiederhier commented on GitHub (Oct 11, 2022): So assuming the link is `ntfy://settings?highlight=default-server` or something similar, would you link to that from Element? Maybe you can explain the use case more, and what people struggle with.
Author
Owner

@p1gp1g commented on GitHub (Oct 11, 2022):

I don't find the documentation to link to, but it is mainly : App settings -> default server.
So, it seems many users struggle with that, I don't know why.

So assuming the link is ntfy://settings?highlight=default-server or something similar, would you link to that from Element?
It is not share directly from a conversation, but from the webui. I feel like saying "go to webui and scan this" is more user friendly

Also, I assumed the deeplink autofilled the server URL, so it would be ntfy://settings?highlight=default-server&server=https%3A%2F%2Fmyserver.domain.tld

<!-- gh-comment-id:1275186541 --> @p1gp1g commented on GitHub (Oct 11, 2022): I don't find the documentation to link to, but it is mainly : App settings -> default server. So, it seems many users struggle with that, I don't know why. > So assuming the link is ntfy://settings?highlight=default-server or something similar, would you link to that from Element? It is not share directly from a conversation, but from the webui. I feel like saying "go to webui and scan this" is more user friendly Also, I assumed the deeplink autofilled the server URL, so it would be `ntfy://settings?highlight=default-server&server=https%3A%2F%2Fmyserver.domain.tld`
Author
Owner

@acaloiaro commented on GitHub (Oct 26, 2022):

👍

Use case: You want to use the ntfy app(s) for push notifications for a small site, but want to self-host the server. In the site's "Welcome" e-mail or user profile page, you add a little tidbit about installing ntfy on your devices to get push notifications, and offer a URL or QR Code that configures the app to use that site's self-hosted server. In order to be completely useful, deeplinks would need to incorporate topic subscription as well.

<!-- gh-comment-id:1292256345 --> @acaloiaro commented on GitHub (Oct 26, 2022): :+1: Use case: You want to use the `ntfy` app(s) for push notifications for a small site, but want to self-host the server. In the site's "Welcome" e-mail or user profile page, you add a little tidbit about installing `ntfy` on your devices to get push notifications, and offer a URL or QR Code that configures the app to use that site's self-hosted server. In order to be completely useful, deeplinks would need to incorporate topic subscription as well.
Author
Owner

@dgtlmoon commented on GitHub (Nov 21, 2023):

theres a PR for QR codes on android over at https://github.com/binwiederhier/ntfy-android/pull/67

<!-- gh-comment-id:1821387280 --> @dgtlmoon commented on GitHub (Nov 21, 2023): theres a PR for QR codes on android over at https://github.com/binwiederhier/ntfy-android/pull/67
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#337
No description provided.