Wait until image downloaded

#1

I have a splash screen animation, and my images won’t show before downloaded from expo server. which makes my animation strange.(even in my standalone app)

so I need to await for my images downloaded… and I can’t find any documentation of it.

any ideas?

0 Likes

#2

Have you seen this yet: https://docs.expo.io/versions/latest/guides/preloading-and-caching-assets.html ?? :slight_smile:

0 Likes

#3

Okay i got solved thx for the document… i dont know why i couldnt get there…

but in my case AppLoading didn’t work, so managed to solve by
Asset.fromModule(image).downloadAsync(); in componentDidMount

1 Like