79573096

Date: 2025-04-14 12:06:10
Score: 1
Natty:
Report link

Your parent container needs to have a height of 100%.

This can be achieved by using height: "100%", but I'd recommend using flex: 1.

export default function App() {
  return (
    <View style={{flex: 1}}>
      <CameraView style={{flex: 1}}>

      </CameraView>
    </View>
  );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nullblade