takePictureAsync very slow in Android

Hello I am trying to implement a pictures app where users can upload their pictures or capture one directly from the app itself.

On iOS everything works perfectly but on Android the function takePictureAsync from expo-camera takes a huge time to resolve and thus the app feels much slower.

I am using Expo SDK 47 and expo-camera@

Here is the code:

const camera = useRef();

const takePicture =async () => {
const image = await camera.current?.takePictureAsync({
quality: 0.1,
skipProcessing: true,
base64: true
});

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