You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/30 14:34:41 UTC

[GitHub] Steffen911 opened a new issue #176: Hiding splash screen in android fails

Steffen911 opened a new issue #176: Hiding splash screen in android fails
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/176
 
 
   I added the plugin in version 5.0.2 to my application and on android it regularly fails with:
   ```
   D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 105224 : Ionic Native: tried calling SplashScreen.hide, but the SplashScreen plugin is not installed.
   I/chromium: [INFO:CONSOLE(105224)] "Ionic Native: tried calling SplashScreen.hide, but the SplashScreen plugin is not installed.", source: file:///android_asset/www/build/vendor.js (105224)
   D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 105236 : Install the SplashScreen plugin: 'ionic cordova plugin add cordova-plugin-splashscreen'
   I/chromium: [INFO:CONSOLE(105236)] "Install the SplashScreen plugin: 'ionic cordova plugin add cordova-plugin-splashscreen'", source: file:///android_asset/www/build/vendor.js (105236)
   ````
   I tried to remove the platforms and plugins directories in my application and tried a prod and a dev build.
   
   I use the following settings in my config.xml:
   ```
     <preference name="FadeSplashScreenDuration" value="300"/>
     <preference name="SplashScreenDelay" value="10000"/>
     <preference name="ShowSplashScreenSpinner" value="false"/>
     <preference name="SplashMaintainAspectRatio" value="true"/>
     <preference name="AutoHideSplashScreen" value="false"/>
     <preference name="FadeSplashScreen" value="false"/>
     <preference name="ShowSplashScreen" value="true"/>
     <preference name="SplashScreen" value="screen"/>
     <preference name="SplashShowOnlyFirstTime" value="false"/>
     <plugin name="cordova-plugin-splashscreen" spec="^5.0.2"/>
   ```
   and `<engine name="android" spec="7.0.0"/>`.
   
   On iOS it works perfectly fine. Could anyone assist here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org