-2

I'm looking to add a feature to a mobile app that lets its users schedule events (including recurring ones). An example of an event could be Event A repeats every month on the 3rd of the month starting on March 3, 2011.

To be honest I don't know where to begin. After searching SO for a while I came across this answer to a question about representing and detecting recurring events in a relational DB. Briefly, the answer suggests creating two SQL tables (events & meta) where meta holds onto the repeat information for each record inside the events table. Using a join statement and a given date the provided SQL query will return those events that match the given date.

My question is, in relation to a mobile app, what are some meaningful approaches to implementing a scheduling system with support for recurring events? is the answer from the above link the right way to do this?

Roman
  • 10,309
  • 17
  • 66
  • 101
  • How to did you end up designing this. Im using a NoSql db for my mobile app. Any help would be great. – Prithvi Sep 24 '20 at 11:42

1 Answers1

0

Use the following libraries: Background Fetch and/or Workmanager. Bear in mind those are easy searchable libraries. Mobile clients have limits over what you can and can't do in background and you can read about it using their officials docs.

iOS: Background Tasks

Android: Background Processing

Mariano Zorrilla
  • 7,165
  • 2
  • 34
  • 52
  • thanks for your answer. I was aware of BackgrounfFetch package and I can see they form a part of the solution. However I'm not sure this answer really explains how one should implement a recurring event system that lets users add, view, modify and delete events. Do you think you could expand on your answer? – Roman Apr 03 '20 at 13:29