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 2020/04/14 16:04:18 UTC

[GitHub] [cordova-plugin-splashscreen] breautek edited a comment on issue #233: Android: Single Splashscreen

breautek edited a comment on issue #233: Android: Single Splashscreen
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/233#issuecomment-613531177
 
 
   No unfortunately that's not how android works. Android expects several images of variety resolutions, in both landscape and portrait (or if you have your orientation locked, then I think you can omit the ones you don't need). I don't believe it will work properly unless the resolutions are exactly what is expected by the android OS.
   
   It doesn't appear cordova has the actual resolutions documented, but phonegap does [here](https://github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes). (I would support a PR that adds a resolution table to the cordova docs... we have one for other platforms, just not for android...)
   
   iOS has a different system in place, known as the storyboard system which is why it is possible to power the splashscreen using a single image on iOS.
   
   I'd suggest making a very high resolution vector that you can downscale to each of the required resolutions and export as PNG format. Unfortunately the resolutions don't share a common aspect ratio, so some manual corrections/cropping may be required, and for this reason I don't think Cordova can accommodate.

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


With regards,
Apache Git Services

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