Android app
The NotIf app receives your messages on Android and can also publish them. It requires Android 8.0 or later.
There is no iPhone app for now. See the FAQ.
Installation
Install NotIf from Google Play.
Without Google Play, you can install the app file:
- On your phone, open usenotif.com/download/notif.apk.
- Open the downloaded file.
- If Android asks, allow your browser to install apps.
If you installed the file and want to switch to Google Play, uninstall the app first: the two versions are not signed with the same key, and Android refuses to replace one with the other.
First use
On first launch, the app shows up to three pages:
- "Your notifications, as soon as they matter". Tap "Allow notifications". If you refuse, you can fix this later in "Settings".
- "NotIf keeps listening". The app explains the open connection and the permanent notification. Tap "Got it".
- "Stop your phone from closing NotIf". Tap "Remove the restriction". In the list, choose "All apps", then NotIf, then "Don't optimize". The "Later" link lets you do it afterwards.
These pages only appear when they are useful. For example, page 3 does not appear if the restriction is already removed.
Add a topic
- Tap "Add a topic". If you already have topics, tap the plus, at the top right.
- In "Name", enter a name, such as "Home". Accented characters are allowed.
- Under the field, the app shows the topic's address, such as
usenotif.com/home-k7w2q9. The end of the address is random: it keeps people from guessing it. - Tap "Add".
If the topic is public, anyone who knows its address can read it and publish to it. Write it down: once the topic is removed, you will not be able to find it again.
To join a topic that already exists, tap "Change" and paste its address. For another server, open "Advanced options".
The app checks access before adding the topic. A protected topic is refused until there is a valid access token in "Settings". The token is only sent to the default server: for a protected topic on another server, first choose that server in "Settings", "Advanced options".
You can also open a link of the form notif://usenotif.com/my-topic. ntfy:// links work the same way. The link opens the "Add a topic" screen already filled in: nothing is added without your consent. Add ?secure=false for a server without HTTPS.
Test message
In an empty topic, tap "Send me a test message". An "It works" message arrives at level 3.
If it has not arrived after 10 seconds, the app shows "The message isn't arriving. Check your phone's settings.". Tap this message to open the "Delivery" section of the settings.
The screen also shows the command to run from a script or a terminal, with a "Copy" button:
curl -d "Hello" https://usenotif.com/home-k7w2q9
Continuous delivery
The app keeps a connection open with the server to receive messages the moment they are published. This connection stays active after the phone restarts.
Meanwhile, Android shows a quiet notification, "Receiving messages". It is required for Android to keep the app running. You can hide it in the Android settings: it is the "Connection" notification category.
If the connection has been down for 30 seconds, a banner appears under the top bar: "Reconnecting to the server…", "No Internet connection" or "Access denied: a topic is blocking delivery".
Some phones close apps in the background to save battery. If your messages arrive late, open "Settings", "Delivery" section, and tap the line marked "Needs attention".
Xiaomi, Redmi and POCO
These phones close NotIf more often than others. Do these three things, in addition to removing the battery restriction:
- Autostart: turn on. Without this setting, NotIf does not start again after the phone restarts or after an update, until you open the app.
- Battery saver: No restrictions.
- Recent apps screen: lock NotIf.
Page 3 of the first use opens the right screen. To get back to it, open "Settings", "Delivery" section, then tap "Battery". The labels vary with the version of MIUI or HyperOS.
Read messages
Topics are sorted by most recent message. Tap a topic to see its messages. The badge shows the number of unread messages, and the list shows the 500 most recent per topic.
- Tapping a message opens its click link, if it has one. A small arrow marks these messages.
- A long press offers "Copy" and "Delete".
- Action buttons are shown under the message and in the notification.
- "Open" followed by the file name opens an attachment.
Markdown is shown as plain text.
Levels and sounds
Each level matches an Android notification category: "Level 1, Minimum", "Level 2, Low", "Level 3, Normal", "Level 4, High" and "Level 5, Urgent". The "Level 5, Urgent" category vibrates longer.
You can change the sound and the importance of each one in the app's Android settings.
Topic options
In a topic, tap the settings icon, at the top right:
- "Name": a more readable name for this topic.
- The full address, with "Copy".
- "Mute": messages arrive without a notification.
- "Notify me from": from "All levels" to "Urgent only". Messages of a lower level arrive without a notification.
- "Clear messages": empties the list on this phone, after confirmation.
- "Remove this topic": removes the topic and erases its messages from this phone, after confirmation.
Your choices are saved right away.
Publish from the phone
In a topic, tap "Publish". Enter a title, if you want, and the message. Then choose:
- the level: Minimum, Low, Normal, High or Urgent;
- the delivery: "Now", "In 30 min", "In 1 h" or "Tomorrow 9 AM", in your local time.
Tap "Publish". The app confirms with "Published" or "Scheduled". If it fails, your text stays in the form.
Attachments, click links and buttons are not offered in this form.
Settings
On the home screen, tap the settings icon, at the top right.
- Delivery: "Notifications", "Battery" and "Connection" show "OK" or "Needs attention". Tap "Needs attention" to fix it.
- Account: "Access token".
- About: "Help", "Privacy", the app version and the link to The Project Hub.
- Advanced options: "Default server".
Protected topics
To read a reserved topic, tap "Settings", then enter your "Access token". Use "Create a token on usenotif.com" to get one.
This token only applies to the server shown in "Default server", https://usenotif.com by default.
Troubleshooting
No topic receives messages anymore. All your topics on the same server share a single connection. If access to a single topic is refused, the server refuses the whole connection and no topic receives anything. The banner then shows "Access denied: a topic is blocking delivery". Check your token, or tap the banner, then "Remove this topic" in the options of the topic at fault.
A published message does not arrive. Check that the topic address is identical on both sides, including capital letters. Also check that the topic is not muted or filtered by "Notify me from".
"Server unreachable. Check your connection." appears when publishing. Check your connection and the "Default server" in "Settings".
"This topic is protected. Add your access token in Settings." appears. Enter a token that has access to this topic.