Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storeToFile: true Does not return a path on Android #312

Open
dev-at-sevenlab-nl opened this issue Aug 24, 2023 · 1 comment
Open

storeToFile: true Does not return a path on Android #312

dev-at-sevenlab-nl opened this issue Aug 24, 2023 · 1 comment

Comments

@dev-at-sevenlab-nl
Copy link

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
@Rahul-Whirldata
Copy link

experiencing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants