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

Local Notification Reminders #3

Open
3 tasks
incyi opened this issue Oct 14, 2016 · 2 comments
Open
3 tasks

Local Notification Reminders #3

incyi opened this issue Oct 14, 2016 · 2 comments
Assignees

Comments

@incyi
Copy link
Contributor

incyi commented Oct 14, 2016

Push reminders

  • 1 time a day to completely fill in.
  • 1 time a week to finish the week.
  • 1 time a month to show 'stats' of last month, maybe to reminder for praying the missed prayers.
@z3bi
Copy link
Contributor

z3bi commented Oct 14, 2016

We don't need to do "push notifications" but using local notifications to send reminders is a good idea. We can probably start with a daily one (with the option to choose the time) and see how that goes.

@Mazyod Mazyod changed the title Push Local Notification Reminders Jan 19, 2017
@Mazyod Mazyod self-assigned this Jan 19, 2017
@Mazyod
Copy link
Collaborator

Mazyod commented Jan 19, 2017

At a higher level, to have such features, we would need a simple notification scheduling service that would wrap the nitty gritty details of local notification scheduling and provide a simple API for the rest of the app. I would like to go over the thought process here, and then include the TL;DR version in the wiki.

Notification Variables

The notification options vary based on:

  • Date: The fire date is of course customizable by the user.
  • Frequency: This can be tweaked by passing a CalendarUnit. We will assume the device calendar as the user's preference.
  • Intent: The intention of the reminder changes, which implies a message variable, and possibly an ID in the user info which can be extracted and used for deep-linking.
  • Selection: Users can choose to turn all/some/none of them on. For the MVP at least, we will simply cancel all notifications and reschedule every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants