-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
The default camera should be Rear not Front
Expected behavior:
The default camera should be Rear not Front
Steps to reproduce:
Tested on galaxy S20+
Related code:
import {
Camera,
CameraResultType,
CameraSource,
CameraDirection,
} from '@capacitor/core';
const image = await Camera.getPhoto({
resultType: CameraResultType.DataUrl,
source: CameraSource.Camera,
direction: CameraDirection.Rear,
quality: 100,
});
const imageDataUrl = image.dataUrl;
Metadata
Metadata
Assignees
Labels
No labels
