Skip to content

docs(camera): Added Android 14 permission note#2244

Open
Jonas-Lieske wants to merge 1 commit intoionic-team:mainfrom
Jonas-Lieske:patch-1
Open

docs(camera): Added Android 14 permission note#2244
Jonas-Lieske wants to merge 1 commit intoionic-team:mainfrom
Jonas-Lieske:patch-1

Conversation

@Jonas-Lieske
Copy link

Tested on multiple Android 14 devices and an Android 13 device. getPhoto() now requires the Camera permission to correctly prompt the user about the usage.

Example code:

await Camera.requestPermissions();
const capturedPhoto = await Camera.getPhoto({
        resultType: CameraResultType.Uri,
        source: CameraSource.Camera,
        quality: 80,
});

Tested on multiple Android 14 devices and an Android 13 device. takePhoto() now requires the Camera permission to correctly prompt the user about the usage.
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

Successfully merging this pull request may close these issues.

1 participant