wmcmahan / react-native-calendar-reminders

React Native Module for IOS Calendar Reminders
MIT License
90 stars 20 forks source link

Can't create customized recurrence reminders #23

Closed henryw4k closed 8 years ago

henryw4k commented 8 years ago
Property Value Description
recurrence String The simple recurrence frequency of the reminder ['daily', 'weekly', 'monthly', 'yearly'].

We have an app that requires 3 month, 6 month, 9 month recurrences. The current setup doesn't allow for that. Was wondering if this feature will come someday.

henryw4k commented 8 years ago

For reference, here's the PR that added simple recurrence rules to this library: https://github.com/wmcmahan/React-Native-Calendar-Reminders/pull/8/files#diff-2db8f8e7b39a1a189a5e8199f34ee1d8R260

henryw4k commented 8 years ago

It looks like we just need to pass an interval value (3, 6, or 9) to the recurrence rule, described here: https://developer.apple.com/reference/eventkit/ekrecurrencerule/1507273-init

henryw4k commented 8 years ago

started working on this feature in a forked version, but not sure know how to build it to test.

https://github.com/doctordick/React-Native-Calendar-Reminders/commit/7e6c8a3c79bee22d3603d0bc136e573d59fc2486

dsernst commented 8 years ago

I helped @henryw4k write this extension to the library. It's now working as of https://github.com/doctordick/React-Native-Calendar-Reminders/commit/35f43899fd30f960045ab916ddcd1edcd28e4725

Still todo: