[
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: [email protected]
For additional commands, e-mail: [email protected]