ionic-team / ionic-team/capacitor-camera
Upgrade @capacitor/camera to use CameraX on Android
- 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
Assessment
This issue has not been assessed yet.