Receiving the following console error when using a gif for the image under the splash key in app.json
Error: Problems validating asset fields in app.json. See https://docs.expo.io/ • Field: splash.image - field 'splash.image' should point to .png image but the file at './assets/loader.gif' has type gif.
The gif appears to be working and the docs for SplashScreen show examples of gifs so im wondering if this is an issue only when setting the splash screen through app.json - any insight here?
As far as I’m aware we haven’t added support for .gif files with the Splash Screen API. Can you let me know where in our docs indicates that you can use gifs?
Thanks @adamjnav - Maybe im just finding these two resources being linked together confusing but in the examples shown here gifs are used as the image source: https://docs.expo.io/versions/latest/sdk/splash-screen and the link to this in the intro of the docs https://docs.expo.io/versions/latest/guides/splash-screens
Any insight would be greatly appreciated!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.