capacitor-community / capacitor-community/camera-preview

Camera Preview is Out of Screen on IOS

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

Description

**Describe the bug**
`CameraPreview()` is out of bond / Screen when application start for the very first time / coming from lock screen.
When user unlock application preview is out of screen again.

**To Reproduce**
Steps to reproduce the behavior:
1. Open Application very first time / Lock & Unlock screen when application is running.
2. go to any other view and coming back to home page is working fine.

**Expected behavior**
CameraPreview stay on its place do not change position on lock screen or First time application start.

**Screenshots**
![2022-07-05](https://user-images.githubusercontent.com/7135885/177282551-e63fd48d-28d7-481a-8d07-79494feaf92e.png)

**Smartphone (please complete the following information):**
- Device: iPhone
- OS: iOS 15.5

**Additional context**
Working fine on Android. This bug is happening on IOS only. When user Install application and open first time this is happening or user Unlock their phone this is happening. Coming back to home screen form other screen this is not happening.

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.