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.
Some ideas?
Thanks!
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:
hi @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:
https://github.com/expo/expo/issues/2060
1 Like
@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: https://github.com/expo/expo/issues/2105
1 Like
Yessss it worked!!! Thanks so much you guys are the best!
system
Closed
August 30, 2018, 3:46pm
7
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.