capacitor-community / capacitor-community/camera-preview

Support orientation change

Open
#107 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
227
Forks
185
PR merge metrics
No merged PRs in 30d

Description

Managing orientation change is not natively supported. When device orientation changes, the preview size does not change. can that be added?

Alternatively, can you provide a preview restart() method that can be used to restart the preview, when my app detect orientation change? Doing a restart with stop(), start() is a bit complex, and I've run into null pointer issue

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.