I think the README is missing a note about running react-native link.
After running that command, I had an error when compiling in Xcode where it was trying to build the RNCalendarReminders project but it failed because that project couldn't find React Native header files. I gave up on that approach and just manually added RNCalendarReminders.h and RNCalendarReminders.m to my Xcode project.
Then I got an error along the lines of "RCTBridgeModule.h not found" in RNCalendarReminders.h. The fix was to change #import "RCTBridgeModule.h" to #import <React/RCTBridgeModule.h>. It's possible because of the version of React Native I'm using. I'm on 0.41.2 via Exponent
Similar to the previous error, I got "RCTConvert.h not found" in RNCalendarReminders.m. I fixed by changing #import "RCTConvert.h" to #import <React/RCTConvert.h>.
Thanks, @lyahdav. I've update this package for React Native v0.4x and added a note about linking to the README. These issues during installation should be resolved now. Cheers.
A few issues I had during installation:
react-native link
.RNCalendarReminders
project but it failed because that project couldn't find React Native header files. I gave up on that approach and just manually added RNCalendarReminders.h and RNCalendarReminders.m to my Xcode project.RNCalendarReminders.h
. The fix was to change#import "RCTBridgeModule.h"
to#import <React/RCTBridgeModule.h>
. It's possible because of the version of React Native I'm using. I'm on 0.41.2 via ExponentRNCalendarReminders.m
. I fixed by changing#import "RCTConvert.h"
to#import <React/RCTConvert.h>
.