You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lex Mourek (JIRA)" <ji...@apache.org> on 2016/07/15 15:09:20 UTC

[jira] [Comment Edited] (CB-6927) Changing the default camera direction does not do anything on Android

    [ https://issues.apache.org/jira/browse/CB-6927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379533#comment-15379533 ] 

Lex Mourek edited comment on CB-6927 at 7/15/16 3:09 PM:
---------------------------------------------------------

It's still valid, not working on Android 6.0.1 (Sony Xperia Z3 Compact). 
But the situation changed a little. Since Cordova now supports only Android versions 4.1+  we can use this approach http://stackoverflow.com/a/9687874/1176622 (iterating through all cameras and finding out which one is the FRONT one).
What do you think?


was (Author: lexmourek):
It's still valid, not working on Android 6.0.1 (Sony Xperia Z3 Compact). 
But the situation changed a little. Since Cordova now supports only Android versions 4.1+  we can use this approach http://stackoverflow.com/a/9687874/1176622 (iterating through all cameras and finding out which one is the FRONT one).

> Changing the default camera direction does not do anything on Android
> ---------------------------------------------------------------------
>
>                 Key: CB-6927
>                 URL: https://issues.apache.org/jira/browse/CB-6927
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>            Reporter: Suraj Pindoria
>            Priority: Minor
>              Labels: Android
>
> When using the camera plugin, I tried to change the default camera direction using the option "cameraDirection: Camera.Direction.FRONT" but it did not change.  It seems that it continues to use whatever camera direction was last used.
> On iOS, you get the correct expected behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org