ionic-team / ionic-team/capacitor-camera

Upgrade @capacitor/camera to use CameraX on Android

Open
#37 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
1
Avg merge
2d 1h
Merged PRs (30d)
2

Description

## Feature Request

### Plugin

@capacitor/camera

### Description

After viewing the android implementation, it seems like the camera plugin uses Camera1 for taking pictures on Android. The Camera1 class [was deprecated on Android in 2015 with 5.0](https://developer.android.com/media/camera/camerax/camera1-to-camerax).

Change the @capacitor/camera plugin to use CameraX

### Platform(s)

Android

### Preferred Solution

@capacitor/camera uses a non-deprecrated library for taking pictures

### Alternatives

Change the implementation to use Camera2. According to documentation it is more complicated, but still supported.

### Additional Context

There are several active Camera bugs that might be resolved by changing to the modern API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.