Open johnbyrne7 opened 3 years ago
How does one use this option? I don't see this option listed in CameraPreviewOption in definition.d.ts? -Thanks
This should be supported when these PRs are merged - https://github.com/capacitor-community/camera-preview/pull/235 and https://github.com/capacitor-community/camera-preview/pull/238 (those are related to https://github.com/capacitor-community/camera-preview/issues/232 and https://github.com/capacitor-community/camera-preview/issues/93 subsequently).
Can someone please test installing as described here https://github.com/capacitor-community/camera-preview/issues/93#issuecomment-1190518846 and let me know if these changes enable orientation change support? Thank you
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