Hi, i just updated from sdk 27 to 29. In IOS all works fine but in android in the release variant all the assets arent showing up. This assets include some local assets of mine and the
@expo/vector-icons. I the debug mode it works fine.
Before i run it in relase mode i publish it with the XDE app.
I also tried puting this in the app.json file but no luck.
"assetBundlePatterns": ["./src/images/**/*", "./node_modules/@expo/vector-icons/**/*"],
May be related to:
@languste, there is a known issue in our current SDK 29 release where our Assets module is lazily loaded. To confirm that this is indeed the issue in your case, could you make the following changes to your app:
import Expo from 'expo';
Expo.Asset; // <----- Add this line here
This will explicitly load the Asset module (if our module doesnt get loaded in time, it falls back to React Native’s default Asset module behavior which does not take into account bundled assets)
for more info:
@languste Thanks for your response! I tried that and it didnt work, it still not showing the images on release variant
There’s another corrective action you need to take on Android (updating expo.gradle). See here:
Yessss it worked!!! Thanks so much you guys are the best!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.