error Constant.manifest expo 32.0.0

Hi all,
i have update expo 32 and when try load the asset with asyc function i have the error Constant.manifest…
is change someting for load the asset

async componentDidMount() {

        /* Preload Async language, country device, asset and font */

        await Promise.all([
            I18n.initAsync(),
            this._loadAssetsAsync(),
            this._cacheResourcesAsync(),
        ]);

        this.setState({appIsReady: true}); // when all above promises above are resolved
    }


_loadAssetsAsync = async () => {
        await ASSETS._loadFont()
    };

_loadFont: async () => {
        await Font.loadAsync({
            RobotoBlack: require('../assets/fonts/robotoGoogleFont/Roboto-Black.ttf'),
            RobotoBlackItalic: require('../assets/fonts/robotoGoogleFont/Roboto-BlackItalic.ttf'),
            RobotoBold: require('../assets/fonts/robotoGoogleFont/Roboto-Bold.ttf'),
            RobotoBoldItalic: require('../assets/fonts/robotoGoogleFont/Roboto-BoldItalic.ttf'),
            RobotoItalic: require('../assets/fonts/robotoGoogleFont/Roboto-Italic.ttf'),
            RobotoLight: require('../assets/fonts/robotoGoogleFont/Roboto-Light.ttf'),
            RobotoLightItalic: require('../assets/fonts/robotoGoogleFont/Roboto-LightItalic.ttf'),
            RobotoMedium: require('../assets/fonts/robotoGoogleFont/Roboto-Medium.ttf'),
            RobotoMediumItalic: require('../assets/fonts/robotoGoogleFont/Roboto-MediumItalic.ttf'),
            RobotoRegular: require('../assets/fonts/robotoGoogleFont/Roboto-Regular.ttf'),
            RobotoThin: require('../assets/fonts/robotoGoogleFont/Roboto-Thin.ttf'),
            RobotoThinItalic: require('../assets/fonts/robotoGoogleFont/Roboto-ThinItalic.ttf'),
        });
    }


whats wrong?

thanks all

Hey @cwsmobile,

What is ASSETS here? Also, why are you using a colon in _loadFont:? It should be _loadFont =.

Cheers,

Adam

sorry i worng was this._loadFont()

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