Splash screen gifs

Good morning,

Last week I was able to use a .gif for the splash screen image. Now I am getting the following error:

10:02:45 [exp] Error: Problems validating asset fields in app.json. See https://docs.expo.io/
10:02:45 [exp]  • Field: loading.icon - field 'loading.icon' should point to .png image but the file at './assets/grandlogo.gif' has type gif.

Is this only for Expo or is there a broader requirement to which Expo is now complying?

Thank you

we deprecated the loading key in app.json a long time ago because you it wasn’t possible to make native splash screens with it. if a gif worked in your case it would only have worked within the expo client or after the actual splash screen was dismissed on ios/android. the splash api uses pngs only https://docs.expo.io/versions/v27.0.0/workflow/configuration#imagelocal-path-or-remote-url-to-an

read more in https://docs.expo.io/versions/v27.0.0/guides/splash-screens

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.