Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: deep link to change default server #440

Open
p1gp1g opened this issue Oct 11, 2022 · 5 comments
Open

Android: deep link to change default server #440

p1gp1g opened this issue Oct 11, 2022 · 5 comments
Labels
android-app ntfy Android app enhancement New feature or request

Comments

@p1gp1g
Copy link

p1gp1g commented Oct 11, 2022

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 :)

@binwiederhier binwiederhier added enhancement New feature or request android-app ntfy Android app labels Oct 11, 2022
@binwiederhier
Copy link
Owner

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

@binwiederhier
Copy link
Owner

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.

@p1gp1g
Copy link
Author

p1gp1g commented 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

@acaloiaro
Copy link

👍

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.

@dgtlmoon
Copy link
Contributor

dgtlmoon commented Nov 21, 2023

theres a PR for QR codes on android over at binwiederhier/ntfy-android#67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app ntfy Android app enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants