jamesmontemagno / MediaPlugin

Take & Pick Photos and Video Plugin for Xamarin and Windows
MIT License
713 stars 357 forks source link

Camera Controls do not appear in landscape mode when orientation lock is Off #454

Open e-nathan opened 6 years ago

e-nathan commented 6 years ago

Bug Information

Version Number of Plugin: 3.1.3 Device Tested On: iPhone 6s, iPhone 5C, iPhone 5S Simulator Tested On: Version of VS: 15.4.0 Preview 3.0 Version of Xamarin: 4.7.0.1001 Version of Xamarin iOS: 11.2.0.4 Version of Xamarin Forms: 2.5.0.91635 Versions of other things you are using:

iOS Version : 10.3.3 ,11.1.2

Steps to reproduce the Behavior

Expected Behavior

Should show the camera controls in landscape mode when orientation lock is off.

Actual Behavior

Doesn't show camera controls in landscape mode when orientation lock is off.

Code snippet

Screenshots

img_20180130_155621-min img_20180130_155629-min

prashantvc commented 6 years ago

This is rather strange! I am not able to reproduce this issue, do you see this issue when you invoke camera without using the plugin?

e-nathan commented 6 years ago

@prashantvc No I do not see this issue with the camera app. I will also try with the sample provided by James and report back. Thanks

e-nathan commented 6 years ago

@prashantvc I tried the MediaPlugin with the sample provided. I only updated the plugin to 3.1.3, but the issue still persists.

This video describes the scenario: video link

jamesmontemagno commented 6 years ago

Is your application locked to only be portrait?

e-nathan commented 6 years ago

@jamesmontemagno No,all Device Orientations have been enabled in info.plist.

chinkan commented 6 years ago

I have the same issue, how to fix it? Thanks!

dinisvieira-xo commented 6 years ago

I also have this issue, on my side to reproduce this I sometimes have to rotate the device multiple times until it eventually gets in that bug state shown in the image. Version 2.6.2 of the plugin doesn't have the issue though, and I'm using it as a workaround.

harsh9592 commented 5 years ago

my app is locked in portrait mode, and camera controls not showing on IOS phones.