capacitor-community/camera-preview

storeToFile: true Does not return a path on Android

Opened this issue · 1 comments

Using:

CameraPreview.start({
    position: 'rear',
    disableAudio: true,
    storeToFile: true,
    toBack: true,
})

const { value: sample } = await CameraPreview.captureSample({ quality: 100 });

The value is a Base64 string ONLY on android, on iOS it returns the file path

Version information

  • Android API 32
  • @capacitor-community/camera-preview 5.0.0
  • @capacitor/ios, android, core 5.2.2

experiencing the same issue