mehcode / rn-splash-screen

A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.
MIT License
350 stars 95 forks source link

Header search paths #30

Closed nezaidu closed 7 years ago

nezaidu commented 7 years ago

In order this package to work we need to add entry to header search paths of our project:

$(SRCROOT)/../node_modules/rn-splash-screen/ios/RCTSplashScreen
nrathi commented 7 years ago

Can you elaborate? Where does this go exactly?

nezaidu commented 7 years ago

@nrathi Since we are adding this line to appdelegate.m

#import "RCTSplashScreen.h"

we need to follow step 3 as described here - https://facebook.github.io/react-native/docs/linking-libraries-ios.html

nrathi commented 7 years ago

Thanks! This made it work for me :).

mehcode commented 7 years ago

I think this is taken care of now from v40.0 onwards with the recent PR