Pre-loading image assets (2x, 3x)

I’d like to pre-load an image at startup with cacheAssetsAsync(). I’ve got 3 different sizes (imagename.png, imagename@2x.png, imagename@3x.png).

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?


Hey @mlight,

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:



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