Pointing to the master branch, but Xcode project fails to build.

The same error occurs with React/RCTEventDispatcher.h in Orientation.m file
Any ideas how it can be fixed?
@sergio-solnet what RN version are using? Did you follow the updates instructions on README?
Seems like old version of RN. Try the new master. ifdef was replaced with if
I've got the same problem with a project running react-native 0.39.2
@Stefan-vs newest master? New master should not have that ifdef there it should only be if
@stoneman1 yes

Will check today / tomorrow this
https://github.com/yamill/react-native-orientation/commit/01feaaaeadc62d02d26adbdf4633c3c92c88429c broke this. Will patch today
@Stefan-vs please check with the updated version of master
It's working!
Most helpful comment
It's working!