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

What is meant by "delete your project's LaunchScreen.xib"? #8

Closed spacesuitdiver closed 8 years ago

spacesuitdiver commented 8 years ago

I don't quite understand the instructions in the README. Do I just delete the reference inside of Xcode or do I need to delete the file or both? Also do I need to adjust the Launch Screen File under "General"? Also also, should we use xcassets somehow to store the splash image so we can add different resolutions?

mehcode commented 8 years ago

I apologize for the abysmal state of the documentation. I don't really understand myself how to implement this as it started as a fork of remobile's splash screen and one of my colleagues ( @Pholey ) implemented the iOS portion on our app.

I'll be going through this and doing a solid example and documentation in the coming week.

spacesuitdiver commented 8 years ago

@mehcode I got it figured out, however it might be interesting to note that we actually use an assets that has 3 sizes for different phones instead of the single .png. I can create an issue for this just so we can maybe ponder how/if we want to tackle this. Works fine on iOS don't know how Android will fair.

spacesuitdiver commented 8 years ago

I'll also help with documentation on iOS side if you need.

mehcode commented 8 years ago

@LeBlaaanc Example and clear documentation is now available for Android. iOS will be coming soon after. If you want to take on the iOS side of that It'd be appreciated but otherwise I'm planning on doing it tomorrow when I setup my next app with react native.

mehcode commented 8 years ago

Documentation is done for iOS and there is also an example.