I need to implement calendar notifications similar to Google Calendar notifications. Notifications should work offline, so FCM is not an option.
I tried to use Firebase Job Scheduler, my schedule is created like this:
FirebaseJobDispatcher dispatcher = new FirebaseJobDispatcher(new GooglePlayDriver(context));
Then schedule job:
Job myJob = dispatcher.newJobBuilder()
.setService(MyJobService.class)
.setTag("my-unique-tag")
.build();
dispatcher.mustSchedule(myJob);
My problem is that above code only schedules single job (it probably also could be sheduled as periodic job). I need to schedule notifications for all events from my internal app calendar, for each date.
I think creating multiple jobs is not a good idea (since, afaik there is some limit for jobs count per app). Can you show me the best solution to do what I want?