Expo release build is not displaying the screen as it is under development

I have been testing it on multiple phones and it seems to work perfectly fine. I just created an apk build with expo but the issue with that is it messes up the screen in which i am using an image with ImageBackground component.

In Release Build

<ImageBackground style={{width: undefined, height: undefined, flexDirection:'column', flex:1}} source={require('../../assets/background.png')}>
<View>
 ....components
</view>
</ImageBackground>

I am also using this in my code to auto-rotate the screen for this screen only

async changeScreenOrientation() {
    await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT);
}

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