What would be the proper way to bundle fonts, images and sounds?
I’m developing an app for Android.
I have this in
"assetBundlePatterns": [ "assets/img/*.png", "assets/snd/*.mp3", "assets/fonts/*.ttf" ]
I know I need to use
Font.loadAsync for fonts. Do I need to use
Asset.loadAsync for sounds or do I just request them as usual
require for the bundle versions to work? And do I need to bundle all the splash and icon images or does Expo bundle them by default?
Currently when I launch the app I see that sounds are not bundled as I get error messages first couple of times trying to play them. And the same thing is happening if the app was in the background for a long period of time. When I launch it from the multitask screen it doesn’t have cached versions of sounds and won’t load them again.