Docs menu

Docs Use OpenTodo1.10.1

Push notifications

Settings, Notifications section with the options Enable notifications on this device and Include task titles.

On this page

Push notifications deliver reminders even when OpenTodo isn't open. Each device decides for itself. To receive them in ntfy, Pushover, Gotify or through a webhook instead, add a delivery channel.

Get reminders when the app is closed#

  1. Open Settings → Notifications → Push notifications on the device.
  2. Turn on Enable notifications on this device and allow notifications when the browser asks.
  3. Select Send test notification. Your server sends a real push to this device, the same way it sends reminders, and a notification appears even while OpenTodo is open.

Repeat this on every device where you want them. Turning it off, or signing out, removes that device.

From a push notification you can tick the task off with Done, Snooze 10 min or Dismiss, and that applies on all your devices. Chrome shows two buttons: Done and Snooze 10 min. With no tab of OpenTodo open, Done opens the app to complete the task (Done from a notification).

Below the options, Delivery check lists everything push needs on this device and what the test found; see Check that push works.

On iPhone and iPad#

Push needs iOS or iPadOS 16.4 or later, and only works in the installed app. Add OpenTodo to your home screen first (Install on your phone), open it from there, then turn on notifications in its settings. Allowing them also lets the icon show today's open tasks (App icon badge).

In the Android app#

The Android app uses no push service: Notifications through the app is on from the start, with task names, and the app schedules your next seven days of reminders on the phone, refreshing them about hourly. For reminders on time, allow Alarms & reminders for OpenTodo (the app offers Allow), and exempt it from battery optimisation if your phone delays alarms. With a UnifiedPush app such as ntfy on the phone, Deliver instantly through UnifiedPush has your server push each reminder to the app the moment it is due (On time through UnifiedPush).

Privacy#

A push message goes through your browser's push service (run by the browser maker). It contains only an id and a time, encrypted so the push service can't read it. Your device then shows the title from its own copy of the task.

Include task titles puts the title and due date in the encrypted message too, so the notification shows them before that device has synced the task. Notes are never sent. With end-to-end encryption, neither is included.

When notifications don't arrive#

  • "Notifications are blocked in your browser settings": you said no when the browser asked. Allow notifications for your OpenTodo address in the browser's site settings, then select Re-enable.
  • "Push notifications are turned off on this server": the person running your server has switched push off. Reminders still show inside the app.
  • "This browser cannot receive push notifications": try the installed app, or open OpenTodo over https://.
  • The test says accepted but not received: the push left your server but didn't reach this device. On a Mac, check System Settings → Notifications for your browser; on Windows, Settings → System → Notifications; on a phone, the notification settings of the browser or the installed app. Focus, do-not-disturb and battery saving modes hold notifications back too.
  • Running OpenTodo from source with make dev: development builds have no service worker, so push can't work there and the delivery check says so. Use the production build (make run, http://localhost:8080) to test push.

More fixes in Troubleshooting.

Edit this page on GitHub