Camera issue after upgrade to expo SDK 28

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 ?

hello! please provide a runnable example that reproduces the problem (info on how to do that well here: How to create a Minimal, Reproducible Example - Help Center - Stack Overflow)

1 Like

Problem resolved by changing

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

by

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

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