capacitor-community / capacitor-community/camera-preview
Is there a problem with higher resolutions?
- Dominant language
- Java
- Stars
- 227
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
When I'm photographing, the results are always in a very low resolution.
**Describe the solution you'd like**
The automatic search for a matching resolution should not default to very low resolutions.
**Describe alternatives you've considered**
I didn't really consider alternatives, because I just commented out the
```java
if ((width != 0 && height != 0) || (supportedSize.width * supportedSize.height < 2048 * 1024))
```
and got better results and no problems.
**Additional context**
There is some kind of a hard limit on resolutions (at least in the code for Android, I didn't look into the code for iOS) and it looks pretty arbitrary to me. Is there a solid reason for this limit? Is this just some tech debt from earlier times of the development?
Contributor guide
Assessment
This issue has not been assessed yet.