Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Rotating orientation on iPhones only shows half the screen #61

Closed
firsthour opened this issue Nov 20, 2018 · 7 comments
Closed

Rotating orientation on iPhones only shows half the screen #61

firsthour opened this issue Nov 20, 2018 · 7 comments

Comments

@firsthour
Copy link

barcode_scan version 0.0.8
IOS version 11.4.1

Tested on iPhone 6 and iPhone 7.

https://i.imgur.com/3umeOrq.jpg

Start in portrait mode and then rotate the phone, it will switch to landscape mode but only the left side of the screen will show the camera.

Start in landscape mode and then rotate the phone, it will switch to portrait mode but only the top half of the screen will show the camera.

Semi-related to #56 in that I would like to disable landscape mode completely but an unsure how to do that on iPhones.

Thanks.

landscape

@jakolion
Copy link

Semi-related to #56 in that I would like to disable landscape mode completely but an unsure how to do that on iPhones.

You set this in the Info.plist with the key "UISupportedInterfaceOrientations". Using Xcode you can find the setting in the "Deployment Info".

image

The camera is not rotating then so this can be used as a workaround if landscape mode isn't a requirement for the app.

@rjahn
Copy link

rjahn commented Jan 9, 2019

I have the same problem but my app requires landscape mode, to show more information (sometimes).

@Mythar
Copy link

Mythar commented Jun 25, 2019

Still no fix using barcode_scan version 1.0.0

@SaltumDis
Copy link

Still having this issue 😢

@mertcanbs
Copy link

This issue is still present where locking device orientation is not possible.

@devtronic
Copy link
Member

Solved in #167

@devtronic
Copy link
Member

Will be available in the next release

@devtronic devtronic mentioned this issue Feb 19, 2020
devtronic added a commit that referenced this issue Feb 19, 2020
Features:
- [Add-to-app support](#168) - @santiihoyos
- Changed overlay to full screen in iOS 13

Bugfixes:
- [Fixed rotation on iOS](#167) - @mintware-de
  - [#61 Rotating orientation on iPhones only shows half the screen](#61)

Changes:
- [Fix compile warning](#127) - @lookfirst
- [Upgrade gradle](#142) - @SuuSoJeat
  - `com.android.tools.build:gradle`: 3.3.1 -> 3.5.0
  - `org.jetbrains.kotlin:kotlin-gradle-plugin`: 1.3.20 -> 1.3.50
  - `compileSdkVersion`: 28 -> 29
  - `targetSdkVersion`: 28 -> 29
  - `gradle`: 4.10.2 -> 5.4.1
- [Package description updated](#180) - @connectety
- README.md and LICENSE.md updated
- Since the project owner has been changed, the package names are different. Checkout the [UPGRADE.md](./UPGRADE.md) for details.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants