Bundling assets doesn't work with build:android

#1

I’m trying to add images to my android standalone build by adding the following to my app.json:

{
    ...
    "assetBundlePatterns": [
      "assets/images/**",
      "assets/fonts/*"
    ]
    ...
}

Then I’m building an app with exp build:android and installing an apk to my device. But my images still loading from CDN and at the first run I see empty space instead of icons until they’re fully loaded.

Could someone please explain me what am I doing wrong or am I missing something?

Thank you!

#2

Which version of expo did you build with? assetBundlePatterns is only available in v24+

#3

It’s the latest one (25)

closed #4

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