Local Detached android does not show new asset or reload

#1

New assets won’t show on my local machine and it doesn’t hot reload or anything either.I changed the release channel to default as well but nothing - any idea what could be going on? It’s a detached expo app - and how do I make sure when I upload and publish the new release my assets show up and dong crash. Ps android app is also crashing on first open in dev,staging,prod

#2

Hey @ajgulati,

How are you handling the assets locally? Pre-fetching? Can you share the relevant code of an asset that isn’t showing.

Cheers,

Adam

#4

I handle all assets in the main app.js file

`_loadResourcesAsync = async () => {
return Promise.all([
  Asset.loadAsync([
   require('./assets/home_active.png'),
   require('./assets/home_inactive.png'),
   require('./assets/my_appo_active.png'),
  ]),
  Font.loadAsync({
 'Regular': require("./assets/fonts/HindGuntur-Regular.ttf"),
  'SemiBold': require("./assets/fonts/HindGuntur-SemiBold.ttf"),
  'Bold': require("./assets/fonts/HindGuntur-Bold.ttf")
  }),
]);
};`
closed #5

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