Camera issue after upgrade to expo SDK 28


#1

Hello,

Since I upgraded SDK expo from 24 to 28, I have the following error when I take a picture with the camera.

Any idea ?


#2

hello! please provide a runnable example that reproduces the problem (info on how to do that well here: https://stackoverflow.com/help/mcve)


#3

Problem resolved by changing

const { takePictureAsync } = this.props.cameraRef;
const picture = await takePictureAsync();

by

const picture = await this.props.cameraRef.takePictureAsync();

closed #4

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