capacitor-community / capacitor-community/camera-preview
storeToFile: true Does not return a path on Android
Open
- Dominant language
- Java
- Stars
- 227
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Using:
```ts
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
Contributor guide
Assessment
This issue has not been assessed yet.