zendesk / react-native-sunshine-conversations

React Native wrapper for Smooch.io
MIT License
36 stars 26 forks source link

Support newer React Native 0.40 and greater #19

Closed RobertBiehl closed 7 years ago

RobertBiehl commented 7 years ago

Add conditional import to fix build. See "breaking changes" in https://github.com/facebook/react-native/releases/tag/v0.40.0

RobertBiehl commented 7 years ago

https://github.com/facebook/react-native/releases/tag/v0.40.0

After e1577df, Native code on iOS must refer to headers out of the react namespace. Previously the following would work:

#import "RCTUtils.h" But now all headers have been moved:

#import <React/RCTUtils.h>

norman-kapschefsky commented 7 years ago

+1

jugarrit commented 7 years ago

Thanks @RobertBiehl