Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App hangs up on splash screen #1287

Closed
punktzrzutu opened this issue Jun 16, 2018 · 5 comments
Closed

App hangs up on splash screen #1287

punktzrzutu opened this issue Jun 16, 2018 · 5 comments

Comments

@punktzrzutu
Copy link

Hi,
What's going on?
Newly created app hangs up on splash screen, also doesn't react to shake gesture.
It happens both in iOS simulator and Android device.
screen shot 2018-06-16 at 13 54 11


Steps to reproduce

$ ignite new PizzaApp
( Choose Bowser (alpha) when prompted )
$ cd PizzaApp
$ ignite generate screen pizza-location-list
( Choose example domain when prompted. This determines where your new screen will go in the directory structure. )
$ ignite generate component pizza-location
( Choose example domain when prompted. This determines where your new screen will go in the directory structure. )
$ react-native run-ios


ignite doctor results:

System
  platform           darwin                                                                                              
  arch               x64                                                                                                 
  cpu                8 cores                                        Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz  
  directory          /Users/bartek/code/reactnative/ignite/Pizza3                                                        

JavaScript
  node               8.11.1       /Users/bartek/.nvm/versions/node/v8.11.1/bin/node  
  npm                6.0.0        /Users/bartek/.nvm/versions/node/v8.11.1/bin/npm   
  yarn               1.7.0        /usr/local/bin/yarn                                

React Native
  react-native-cli   2.0.1       
  app rn version     0.55.4      

Ignite
  ignite             2.1.0        /Users/bartek/.nvm/versions/node/v8.11.1/bin/ignite  

Android
  java               1.8.0_92     /usr/bin/java                      
  android home       -            /Users/bartek/Library/Android/sdk  

iOS
  xcode              9.2         
@technoplato
Copy link

👍

@technoplato
Copy link

@punktzrzutu,

Try using this instead: ignite new PizzaApp -b ir-boilerplate

Worked for me. Still familiarizing myself with ignite though, but I don't think this is the bowser boilerplate.

@mrgoodrich
Copy link

+1

@kevinvangelder
Copy link
Member

Usually if you get stuck on the splash screen there is a redbox error behind it. You can either try resetting the cache on your packager with npm start --reset-cache or temporarily comment out the splash screen call in the native code so you can see the redbox error and address it. Since Leon's PR should have improved things here I'm closing this issue, but feel free to reopen if it's still a problem.

@engineerStuardo
Copy link

Hi @kevinvangelder ... I just have a related issue about this. I created a brand new project with ignite and everything is working fine on local. But when I did expo publish then the iOS app it's stuck in the SplashScreen (Android is working fine). This is my published project: https://expo.dev/@stuardocortez/NewPizzaApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants