ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
192 stars 187 forks source link

White screen after splash screen (iOS) #397

Open mluis opened 5 years ago

mluis commented 5 years ago

Short description of the problem:

When launching the application it opens up the splash screen and after that a white screen is displayed on iOS. Although is working on Android.

What behavior are you expecting?

After launching the app and showing the splash screen the app should proceed to the login screen.

Steps to reproduce:

  1. install cordova-plugin-splashscreen 5.0.2 "Splashscreen"
  2. Configure the plugin.
    <preference name="AutoHideSplashScreen" value="true" />
    <preference name="SplashScreenDelay" value="3000" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashShowOnlyFirstTime" value="false" />

Which Ionic Version? 1.x or 2.x 1.x

Run ionic info from terminal/cmd prompt: (paste output below)

[WARN] Bad integration name: gulp

Ionic:

   ionic (Ionic CLI) : 4.10.3 (/Users/miguelluis/.nvm/versions/node/v11.3.0/lib/node_modules/ionic)
   Ionic Framework   : ionic1 1.1.1
   @ionic/v1-toolkit : 1.0.22

Cordova:

   cordova (Cordova CLI) : 9.0.0
   Cordova Platforms     : android 8.0.0, ios 5.0.0
   Cordova Plugins       : no whitelisted plugins (10 plugins total)

System:

   ios-deploy : 1.9.2
   ios-sim    : 6.1.3
   NodeJS     : v11.3.0 (/Users/miguelluis/.nvm/versions/node/v11.3.0/bin/node)
   npm        : 6.4.1
   OS         : macOS High Sierra
   Xcode      : Xcode 10.1 Build version 10B61
mluis commented 5 years ago

This keeps a thing with this setup:

[WARN] Bad integration name: gulp

Ionic:

   Ionic CLI         : 5.2.0 (/Users/miguelluis/.nvm/versions/node/v11.3.0/lib/node_modules/ionic)
   Ionic Framework   : ionic1 1.1.1
   @ionic/v1-toolkit : 1.0.22

Cordova:

   Cordova CLI       : 9.0.0
   Cordova Platforms : android 8.0.0, ios 5.0.1
   Cordova Plugins   : no whitelisted plugins (10 plugins total)

Utility:

   cordova-res : 0.5.1 
   native-run  : 0.2.7 

System:

   ios-deploy : 1.9.2
   ios-sim    : 6.1.3
   NodeJS     : v11.3.0 (/Users/miguelluis/.nvm/versions/node/v11.3.0/bin/node)
   npm        : 6.4.1
   OS         : macOS High Sierra
   Xcode      : Xcode 10.1 Build version 10B61
rolinger commented 4 years ago

This might be due to the fact that Ionic v1 auto-installs cordova-plugin-splashscreen v4.0.3 - but splashscreen is now up to v5.0.3. I had issues on iOS as well, removed v4.0.3 and added the latest version v5.0.3 - my issues went away.