Add reminders push notification support

Bug #1273311 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Notes app
Fix Released
Medium
Michael Zanetti

Bug Description

In order to provide system integration, we should ensure reminders are not just static notes when the app is running, but that there is notification when a reminder is due.

One option is to use the Alarms API, but a more robust would be to use push notifications, which would cater for getting notified even if reminders have been created outside of the Reminders app - e.g. the web or any other client.

Related branches

David Planella (dpm)
Changed in reminders-app:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

So, I spent some times to think about the implementation of Alarm API. We have to choose some things:

- Do we add alarm for every reminder, whatever the way has been created? Or we add alarm only for reminders created on device?
If we want to add alarm for every reminder we do it in the backend: at every sync we check which reminders have the alarm yet and we activate the misses.
Also, we need to sync the notes in background: if a user creates a note on the web, he wants the alarm rings also if he didn't open the app since a while

- When we want alarms ring? 10 minutes before the deadline? The day before? And if the reminder is set for a day, but without an hour? When has to ring the alarm? At midnight? At noon?

Changed in reminders-app:
assignee: nobody → Michael Zanetti (mzanetti)
Revision history for this message
Leo Arias (elopio) wrote :

This means that reminders are not yet working, right?

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 1273311] Re: Add Alarm API integration in reminders

On Thu, Oct 16, 2014 at 6:46 AM, Leo Arias <email address hidden> wrote:

> This means that reminders are not yet working, right?
>

Reminders are working in the sense that you can set and edit them, and see
them on the Reminders tab.

However, there is no system-wide notification that a reminder is due. We're
currently working on getting push notifications for reminders, so that you
get notified even when the app is not running.

Cheers,
David.

>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1273311
>
> Title:
> Add Alarm API integration in reminders
>
> Status in Ubuntu Reminders app:
> Triaged
>
> Bug description:
> In order to provide system integration, we should ensure reminders are
> managed with the Alarms API. The API itself is already functional, but
> it currently requires the notifications part to land:
>
> https://wiki.ubuntu.com/Touch/CoreApps/Blockers
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/reminders-app/+bug/1273311/+subscriptions
>

summary: - Add Alarm API integration in reminders
+ Add reminders push notification support
description: updated
tags: added: rtm14
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

this needs to use the alarm framework, push notifications are for server pushed information

Olli Ries (ories)
tags: added: ota-future
Revision history for this message
David Planella (dpm) wrote :

The problem with the Alarms framework is that it won't recognize reminders created from the web when the app is not running. Also last time we looked at it, the Alarms API only supported clock alarms and they couldn't be created from arbitrary apps.

We've discussed it with Evernote and with the push notifications team, using Evernote's webhooks [1].

[1] https://dev.evernote.com/doc/articles/polling_notification.php#webhooks

description: updated
David Planella (dpm)
Changed in reminders-app:
milestone: none → 2014-11-27
Changed in reminders-app:
status: Triaged → Confirmed
Changed in reminders-app:
status: Confirmed → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:reminders-app at revision None, scheduled for release in reminders-app, milestone 2014-11-27

Changed in reminders-app:
status: In Progress → Fix Committed
Changed in reminders-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.