I’d like to pre-load an image at startup with cacheAssetsAsync(). I’ve got 3 different sizes (imagename.png, firstname.lastname@example.org, email@example.com).
Is there a way to know at startup which size I need to pre-load, or do I just have to pre-load all 3 just in case?
I’m not sure if there is a way to know what size is needed at start up, but I also wanted to mention that you have the ability to bundle your assets in your binary that will allow for faster loading times.
You can check the docs here: https://docs.expo.io/versions/latest/guides/configuration.html#assetbundlepatterns
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.