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/08/14 18:24:45 UTC

[GitHub] [cordova-ios] Mehditeranee opened a new issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   Hi,
   
   My app was working fine on Cordova iOS 5 with UIWebView. But I switched to WKWebView on Cordova iOS 6.1.0 and now all I get is a white splashscreen.
   
   In the logs, i retrieved this warning : 
   `WARNING: The splashscreen image named LaunchStoryboard was not found` 
   I don't know why the expected splashscreen name is 'LaunchStoryboard', in my config.xml there is not this name
   
   I tested my app with an Android device, all is ok. 
   I tested with several iOS devices, and the issue is still present.
   
   I noted there was an issue with the splashscreen with version 6.0.0 of Cordova iOS platform.
   
   Thanks for your help.


----------------------------------------------------------------
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] erisu commented on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   Yes, as you have pointed out, the Legacy Launch Images are no longer supported and you should be migrating to use Launch Storyboard.
   
   As the original release blog post stated,
   
   > Integrated SplashScreen plugin code & replaced Launch Images with Launch Storyboards
   >
   > If you're migrating from launch images, details on how to set up images for Launch Storyboards can be found in the SplashScreen documentation.
   > 
   > https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/index.html#launch-storyboard-images
   
   Integration of SplashScreen and as well the deprecation of the legacy launch images were performed in #790.
   
   Per the PR description:
   > Apple is deprecating Launch Images and will require Launch Storyboards for all apps as of April 2020 (Closes #770).
   
   I will be closing this issue as you have concluded the cause of the white SplashScreen for your app and solution and that the legacy support is not something we are providing.


----------------------------------------------------------------
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] Mehditeranee commented on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   After some tests, and after executing what I suggested, i solve my issue (partly).
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...


----------------------------------------------------------------
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] Mehditeranee edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   After some tests, and after executing what I suggested, i solve my issue (partly).
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...
   
   In conclusion, cordova-ios 6.1.0 support the splashscreen but only with the "Storyboard" method. The "Legacy" one is not.


----------------------------------------------------------------
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] Mehditeranee edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   After some tests, and after executing what I suggested, i solve my issue (partly).
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...
   
   **In conclusion, cordova-ios 6.1.0 support the splashscreen but only with the "Storyboard" method. The "Legacy" one is not.**


----------------------------------------------------------------
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] erisu edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   Yes, as you have pointed out, the legacy launch images are no longer supported. Since Cordova-iOS 6.0, you should be migrating to use Launch Storyboard.
   
   This was mentioned in the release blog post,
   
   > Integrated SplashScreen plugin code & replaced Launch Images with Launch Storyboards
   >
   > If you're migrating from launch images, details on how to set up images for Launch Storyboards can be found in the SplashScreen documentation.
   > 
   > https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/index.html#launch-storyboard-images
   
   The integration work of SplashScreen code and as well the deprecation of the legacy launch images were performed in PR #790.
   
   In the PR description:
   > Apple is deprecating Launch Images and will require Launch Storyboards for all apps as of April 2020 (Closes #770).
   
   I will be closing this issue as you have concluded the cause of the white SplashScreen for your app, pointed out the solution, and that the legacy support is not something we are providing.


----------------------------------------------------------------
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] Mehditeranee edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   After some tests, and after executing what I suggested, I solved my issue partly.
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...
   
   **In conclusion, cordova-ios 6.1.0 support the splashscreen but only with the "Storyboard" method. The "Legacy" one is not.**


----------------------------------------------------------------
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] erisu closed issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   


----------------------------------------------------------------
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] Mehditeranee edited a comment on issue #968: White splashscreen for iOS after switching to Cordova iOS 6.1.0

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


   After some tests, and after executing what I suggested, I solved my issue partly.
   
   Indeed, I use the "Storyboard" method instead of "Legacy" method and I checked the behavior.
   
   More precisely:
   
   - I commented out all lines of "Legacy" method in my config.xml
   ```
   <!-- <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
           <splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
           <splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
           <splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
           <splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
           <splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
           <splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
           <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
           <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
           <splash height="1242" src="res/screen/ios/Default-landscape-736h.png" width="2208" />
           <splash height="2436" src="res/screen/ios/Default-Portrait-2436h@3x.png" width="1125" />
           <splash height="2688" src="res/screen/ios/Default-Portrait-2688h@3x.png" width="1242" />
           <splash height="1792" src="res/screen/ios/Default-Portrait-1792h@2x.png" width="828" /> -->
   ```
   
   - I added a line as "Storyboard" method in my config.xml to replace the lines above
   <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
   The width and height of the image is 2732 x 2732 as described here: https://community.adobe.com/t5/phonegap-build/storyboard-splashscreen-not-working/td-p/9732197?page=1
   
   - I built my project for ios and I launched the emulator to check the result
   ```
   cordova build ios
   cordova emulate ios
   ```
   
   And Voila!, the splashscreen is well displayed but not with the good proportion for the emulator device is used...
   
   **In conclusion, cordova-ios 6.1.0 support the splashscreen but only with the "Storyboard" method. The "Legacy" one is not.**


----------------------------------------------------------------
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