Assets not showing when using expo:build for .apk after upgrading to SDK 39

Was not an issue with the build process but instead an issue with another part of my code where other assets were getting saved to the documentDirectory.

I originally was saving assets (such as a small video) to the root documentDirectory. I had another process that would clear old assets based on an array of values of “what should be there”.

There was a change from Expo 38 -> 39 where binary assets now got bundled directly to the root of the documentDirectory so when my app was loading it would remove all the bundled assets.

Easy fix was to just store these other assets that I was loading on app launch to a subdirectory in the documentDirectory (in my case documentDirectory/assetCache).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top