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

Create a podspec file #51

Closed zoontek closed 7 years ago

zoontek commented 7 years ago

Hello,

First of all: great lib, and thanks you for it 😄 I created a podspec file for everyone who want to use Cocoapods to handle their native modules.

mehcode commented 7 years ago

As the recommended-by-Facebook solution is react-native link I'm not really interested in this but I'll merge it as other libs seem to also support this install path. I'll trust you that it works. 🙂

kidequinox commented 6 years ago

When trying to install with pods, i was getting this error:

The name of the given podspec RCTSplashScreen doesn't match the expected one rn-splash-screen

Changing line 6 from: s.name = "RCTSplashScreen" to s.name = "rn-splash-screen"

allowed me to install