SivasubramanianG opened a new issue #307:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/307


   # Bug Report
   
   ## Problem
   This issue is started to occur after migrated to cordova-ios 6.0.0
   ### What is expected to happen?
   Splash screen automatically hides with no white screen after giving 
this.splashscreen.hide(); in device ready function.
   
   ### What does actually happen?
   Splash screen is not manually hiding even after calling 
this.splashscreen.hide() in device ready function.
   Splash screen is not hiding without AutoHideSplashScreen set to true.
   If AutoHideSplashScreen is set to true in config.xml it does not hiding with 
this.splashscreen.hide(). It is hiding only when setting SplashScreenDelay" 
value="3000" in config.xml.
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   Migrate cordova-ios ~5 to 6.0.0.
   Upgrade splash screen to 6.0.0 version.
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
         <preference name="SplashMaintainAspectRatio" value="true" />
        <preference name="FadeSplashScreenDuration" value="300" />
        <preference name="SplashShowOnlyFirstTime" value="false" />
        <preference name="ShowSplashScreenSpinner" value="false" />
        <preference name="SplashScreen" value="screen" />
        <preference name="AutoHideSplashScreen" value="false" />
       <platform name="android">
           <splash height="480" src="resources/ios/splash/Default~iphone.png" 
width="320" />
            <splash height="960" 
src="resources/ios/splash/Default@2x~iphone.png" width="640" />
            <splash height="1024" 
src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
            <splash height="768" 
src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
            <splash height="1125" 
src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
            <splash height="1242" 
src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
            <splash height="2048" 
src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
            <splash height="1536" 
src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
            <splash height="2732" 
src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
            <splash height="2048" 
src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
            <splash height="1136" 
src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
            <splash height="1334" src="resources/ios/splash/Default-667h.png" 
width="750" />
            <splash height="2208" src="resources/ios/splash/Default-736h.png" 
width="1242" />
            <splash height="2436" src="resources/ios/splash/Default-2436h.png" 
width="1125" />
            <splash height="2732" 
src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
            <splash height="1334" 
src="resources/ios/splash/Default@2x~iphone~anyany.jpg" width="1334" />
            <splash height="2688" 
src="resources/ios/splash/Default-2688h~iphone.png" width="1242" />
            <splash height="1242" 
src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" />
            <splash height="1792" 
src="resources/ios/splash/Default-1792h~iphone.png" width="828" />
            <splash height="828" 
src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" />
       </platform>
   
   in Config.xml
   
   this.platform.ready().then(() => {
       this.splashscreen.hide();
   }
   
   in app.component.ts
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Ionic:
      Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
      Ionic Framework               : @ionic/angular 5.5.1
      @angular-devkit/build-angular : 0.803.29
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.3.29
      @ionic/angular-toolkit        : 2.3.3
   
   Cordova:
      Cordova CLI       : 9.0.0 ([email protected])
      Cordova Platforms : ios 6.0.0
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, 
cordova-plugin-ionic-webview 4.2.1, (and 33 other plugins)
   
   Utility:
      cordova-res                          : not installed
      native-run (update available: 1.3.0) : 0.3.0
    
   System:
      ios-deploy : 1.11.3
      ios-sim    : 8.0.2
      NodeJS     : v12.18.3 (/usr/local/bin/node)
      npm        : 6.14.6
      OS         : macOS Catalina
      Xcode      : Xcode 12.2 Build version 12B45b
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to