Expo Splash Screen

  1. SDK Version: Latest
  2. Platforms(Android/iOS/web/all): iOS/Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hi

Ive building an app using Expo, and plan to make my app available on iOS and Android platforms.

I have made my landscape only by modifiying the json. I have a question regarding the splash image. As my app is landscape only, what size is recommended for the splash.png image I should create?

Any idea anyone?

I guess similar recommendations as if it were portrait just swapping the width and height.

If it’s a centred icon a square image where width and height match the widest phones and splash.resizeMode is contain is most likely best.

If you want to use cover instead set the height at a large enough amount to deal with the widest phones. And width large enough for the tallest phones.

The iOS Human Interface Guidelines list the static launch image sizes. I’ll go with 1242 pixels wide and 2436 pixels tall – this is the width of the iPhone 8 Plus (the widest iPhone) and the height of the iPhone X (the tallest iPhone)

From the expo splash screen docs the above is noted. So just swap the width and height as recommended there.

Ok so I did what you said but have a small issue.

The splash screen shows up in potrait, and then my app flips to landscape.

How can I make the splash also show in landscape?