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>
);
}