remobile / react-native-splashscreen

MIT License
373 stars 103 forks source link

splashsceen not work #10

Open peng051410 opened 8 years ago

peng051410 commented 8 years ago

I fllow you step to config the splashscreen ,but it not work, it has ios version limit?

wangyueg commented 8 years ago

please dray SplashScreenResource to your project [if you want change image, replace splash.png]

satyagupta commented 8 years ago

Still does not works, i have image assets should i delete that?

naivehhr commented 8 years ago

+1 platform ios. Can not find the default splash image In the ios program

wangyueg commented 8 years ago

find the SplashScreenResource file in node_modules>@remobile>react-native-splashscreen>iOS, then drag it to your project

naivehhr commented 8 years ago

@wangyueg thx,it's work☺

satyagupta commented 8 years ago

Still does not, i want to add a delay. i want the splash screen to show for a longer period.

naivehhr commented 8 years ago

@satyagupta Maybe you can control this function-> ‘splashscreen. Hide ()’ componentDidMount() { setTimeout(()=>{ SplashScreen.hide() },2000) }

satyagupta commented 8 years ago

componentDidMount: function(){ this.setTimeout( function(){ SplashScreen.hide(); this.getLoginStatus(); },5000); },

this does not works for me :(

naivehhr commented 8 years ago

@satyagupta Do you use Skype?This is my Skype account:Aran Hu (chinese)

satyagupta commented 8 years ago

satya.bdt

mehcode commented 8 years ago

See https://github.com/mehcode/rn-splash-screen/blob/master/docs/ios.md for iOS documentation; there is also a working example

leonardo015 commented 7 years ago

@wangyueg I can't find the SplashScreenResource file. My @node_modules>@remobile>react-native-splashscreen>ios folder only contains:

basith374 commented 7 years ago

SplashScreenResource folder was removed in commit 83125b5. If you clone this project yourself and checkout the d349e55 commit, you can get the files.