Using ntfy with Tusky for Android
The popular Android Mastodon client Tusky supports push notifications being delivered through ntfy instead of Google's Firebase Cloud Messaging, which is the default way to send push notifications to Android devices. If you can't or don't want to use FCM, or if you're having trouble receiving timely notifications, you may want to consider trying ntfy instead.
The flagship instance of ntfy is operated by the project's maintainer at ntfy.sh. There is rate limiting in place on ntfy.sh, which can be avoided by paying for a subscription tier. If you're not inclined to pay for a ntfy.sh subscription, we suggest using our server at ntfy.4d2.org instead: the overall messaging rate limits are higher, our own applications are exempt from the limits, and it allows us to be better internet citizens by not placing our applications' notification load on ntfy.sh.
Trying out ntfy with Tusky takes only a few minutes:
- Visit https://ntfy.4d2.org in a web browser, click the link to sign up, and register a username and password.
- Download and install the ntfy app for Android. Open the ntfy app and accept the recommended settings to allow background battery usage.
- In the ntfy app, navigate to Settings and set your default server to
https://ntfy.4d2.org, unless you're already using ntfy.sh for another purpose. Then choose "Manage users", choose "Add new user", enterĀhttps://ntfy.4d2.orgfor your service URL, enter the username and password you chose in step 1, and tap "Add user". - If prompted, choose to use WebSockets to connect to the server for better performance.
- Open Tusky. It should automatically configure itself to use ntfy now that it's installed.
- Open the ntfy app and confirm that you can see a new "com.keylesspalace.tusky" topic in the list of subscribed topics.
You can also use ntfy with Matrix clients. ntfy can be integrated with many other mobile applications, but these scenarios aren't covered here. Please seeĀ the ntfy documentation for more details.