wmcmahan / react-native-calendar-reminders

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

Support to check if an item has been 'marked done' #13

Closed divyajalan closed 8 years ago

divyajalan commented 8 years ago

Hi,

As we know, on the native iOS reminders app we can mark items done, once the task has been completed. Is there any way in which we can read that value in react native through this component, so that we know whether the particular reminder/task was completed or not?

I am sorry if this exists, I tried looking around but couldn't find this feature. Would be glad if this could be included!

wmcmahan commented 8 years ago

Hi @divyajalan. You are correct, being able to see completion state would be very helpful :) It should be a simple feature addition to this module. I will try to push a change soon with this updated, or if you want, PRs are welcome also. Thanks for reaching out

divyajalan commented 8 years ago

Thanks a lot for the quick response @wmcmahan. I will be eagerly waiting for this change to be pushed.

wmcmahan commented 8 years ago

No problem @divyajalan, I've pushed a new patch up that allows for checking if the reminder is completed along with the date it was marked completed. You can also now mark the reminder as completed on save, as well. The current property is named isCompleted. Hopefully this helps :)

divyajalan commented 8 years ago

I have checked this to work perfectly for me! Thanks for being so quick at this @wmcmahan :)