You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/08 09:30:00 UTC

[GitHub] [cordova-ios] mathieucaralp opened a new issue #890: Problem with splashscreen and cordova-ios 6.0.0

mathieucaralp opened a new issue #890:
URL: https://github.com/apache/cordova-ios/issues/890


   # Bug Report
   
   ## Problem
   
   The version 6.0.0 of cordova-ios integrates the  [splashscreen plugin](https://github.com/apache/cordova-plugin-splashscreen). Accordingly, the team of cordova-plugin-splashscreen removed the support of this version with [the latest version of the plugin](https://github.com/apache/cordova-plugin-splashscreen/blob/master/RELEASENOTES.md). 
   
   With that in mind I decided to update cordova-ios to version 6.0.0, but the integrated splashscreen does not work the same way as the plugin one.
   
   ### What is expected to happen?
   
   The splashscreen should be displayed the same way as before.
   
   ### What does actually happen?
   
   The splash screen is hidden very quickly, it does not use the settings of the config.xml file. It is hidden even if the _AutoHideSplashScreen_ option is set to false, and the _SplashScreenDelay_ option does not change the delay.
   
   ## Information
   
   I looked at the [CDVViewController.m file](https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVViewController.m) file with the Xcode debugger, and it seems that the options of the config.xml file are correctly interpreted, but it does not change nothing. 
   
   Moreover when I call the `navigator.splashscreen.hide()` function, the splashscreen is not displayed and I cannot click on the screen anymore.
   
   Some people from the splashscreen plugin team seem to have spotted [the same problem](https://github.com/apache/cordova-plugin-splashscreen/issues/268).
   
   
   ### Environment, Platform, Device
   
   I use Xcode 11.4 and an IPhone 6S with iOS 13.5.
   
   ### Version information
   
   I use cordova-ios 6.0.0.
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] 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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui edited a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui edited a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-642092672


   The issue does not happen when creating a project from scratch. 😕 
   
   It works correctly using cordova-plugin-splashscreen 5.0.2 but it doesn't when using version 5.0.4 which is the one I was using. I hope it helps someone. Now the issue is that the splash is still up there but it's invisible and you can't interact with the web app.
   
   And sorry for all the chatter.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] mosabab commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641441809


   > # Bug Report
   > ## Problem
   > The version 6.0.0 of cordova-ios integrates the [splashscreen plugin](https://github.com/apache/cordova-plugin-splashscreen). Accordingly, the team of cordova-plugin-splashscreen removed the support of this version with [the latest version of the plugin](https://github.com/apache/cordova-plugin-splashscreen/blob/master/RELEASENOTES.md).
   > 
   > With that in mind I decided to update cordova-ios to version 6.0.0, but the integrated splashscreen does not work the same way as the plugin one.
   > 
   > ### What is expected to happen?
   > The splashscreen should be displayed the same way as before.
   > 
   > ### What does actually happen?
   > The splash screen is hidden very quickly, it does not use the settings of the config.xml file. It is hidden even if the _AutoHideSplashScreen_ option is set to false, and the _SplashScreenDelay_ option does not change the delay.
   > 
   > ## Information
   > I looked at the [CDVViewController.m file](https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVViewController.m) file with the Xcode debugger, and it seems that the options of the config.xml file are correctly interpreted, but it does not change nothing.
   > 
   > Moreover when I call the `navigator.splashscreen.hide()` function, the splashscreen is not displayed and I cannot click on the screen anymore.
   > 
   > Some people from the splashscreen plugin team seem to have spotted [the same problem](https://github.com/apache/cordova-plugin-splashscreen/issues/268).
   > 
   > ### Environment, Platform, Device
   > I use Xcode 11.4 and an IPhone 6S with iOS 13.5.
   > 
   > ### Version information
   > I use cordova-ios 6.0.0.
   > 
   > ## Checklist
   > * [x]  I searched for existing GitHub issues
   > * [x]  I updated all Cordova tooling to most recent version
   > * [x]  I included all the necessary information above
   
   Please change the title of this issue to:
   cordova-ios 6.0.0 not read the preferences from config.xml for splashscreen


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-642092672


   Quick update: The issue does not happen when creating a project from scratch. 😕 


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui edited a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui edited a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641582401


   I'm experiencing the same issue. 
   What my debugging shows is preferences are correctly read from config.xml. The subview created to "emulate" the Launch Screen after the OSs one is hidden is there but it's transparent. I guess that's the reason why it's not possible to interact with the Web App.
   
   A quick way to prove what I say is to call navigator.splashscreen.show(). Or just set a very long FadeSplashScreenDuration.
   
   I'm still trying to figure out why the launch screen is "transparent" as this is blocking me from upgrading and we really want to.
   
   I also validated that the subview alpha is set to 1.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] antikalk removed a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
antikalk removed a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641769765


   Updating cordova-plugin-splashscreen to version 5.0.4 changed the experience for me, as this does not include anymore ios related code. I am now able to click again (seems like the transparent layer is gone then) but the problem with the early hiding of the splashscreen still exists for me. As this is now a fully cordova-ios thing I closed [my issue at cordova-plugin-splashscreen](https://github.com/apache/cordova-plugin-splashscreen/issues/268).


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui edited a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui edited a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-642092672


   The issue does not happen when creating a project from scratch. 😕 
   
   It works correctly using cordova-plugin-splashscreen 5.0.2 but it doesn't when using version 5.0.4 which is the one I was using. I hope it helps someone.
   
   And sorry for all the chatter.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] mosabab edited a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
mosabab edited a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641441809


   @mathieucaralp
   
   Please change the title of this issue to:
   cordova-ios 6.0.0 not read the preferences from config.xml for splashscreen


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] mosabab commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641414315


   @dpogue Could you please look at this issue:
   
   Cordova-ios does not read the settings for splas screen.
   This happend since the plugin integrated to cordova-ios.
   Regards


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] mosabab edited a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
mosabab edited a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641414315


   @dpogue Could you please look at this issue:
   
   Cordova-ios does not read the settings from config.xml for splas screen.
   This happend since the plugin integrated to cordova-ios.
   Regards


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui removed a comment on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui removed a comment on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-642092672


   The issue does not happen when creating a project from scratch. 😕 
   
   It works correctly using cordova-plugin-splashscreen 5.0.2 but it doesn't when using version 5.0.4 which is the one I was using. I hope it helps someone. Now the issue is that the splash is still up there but it's invisible and you can't interact with the web app.
   
   And sorry for all the chatter.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-642045568


   @dpogue thank you very much for looking at it. 
   It looks to me like the issue is not only the LaunchScreen storyboard background color. It looks to me like the splash screen image that should be loaded in its image container is not being loaded.
   I tried the changes in your PR and what I see in that case is that now the view is visible but it doesn't have the image loaded on it.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] ajberasategui commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
ajberasategui commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641582401


   I'm experiencing the same issue. 
   What my debugging shows is preferences are correctly read from config.xml. The subview created to "emulate" the Launch Screen after the OSs one is hidden is there but it's transparent. I guess that's the reason why it's not possible to interact with the Web App.
   
   A quick way to prove what I say is to call navigator.splashscreen.show().
   
   I'm still trying to figure out why the launch screen is "transparent" as this is blocking me from upgrading and we really want to.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] antikalk commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
antikalk commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641769765


   Updating cordova-plugin-splashscreen to version 5.0.4 changed the experience for me, as this does not include anymore ios related code. I am now able to click again (seems like the transparent layer is gone then) but the problem with the early hiding of the splashscreen still exists for me. As this is now a fully cordova-ios thing I closed [my issue at cordova-plugin-splashscreen](https://github.com/apache/cordova-plugin-splashscreen/issues/268).


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] dpogue commented on issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #890:
URL: https://github.com/apache/cordova-ios/issues/890#issuecomment-641610728


   Ahhhh okay, I know what's happening here: The splashscreen will use the `BackgroundColor` preference configured in config.xml. If that is not configured, it will be transparent.
   
   I will open a PR in the next few days to make it default to white.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] dpogue closed issue #890: Problem with splashscreen and cordova-ios 6.0.0

Posted by GitBox <gi...@apache.org>.
dpogue closed issue #890:
URL: https://github.com/apache/cordova-ios/issues/890


   


----------------------------------------------------------------
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:
users@infra.apache.org



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