GitHub user horozco opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/158
[CB-10388] - Added correctOrientation support for android 4.4
Jira issue: https://issues.apache.org/jira/browse/CB-10388
- Currently If You pass the correctOrientation param as true, the
sourceType as PHOTOLIBRARY or SAVEDPHOTOALBUM, the media type as ALLMEDIA and
the selected file is an image the correctOrientation function is not being
called. Also even if the function is called the code is not detecting the URI
and doesnât rotate the picture. These changes fixed both issues.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/horozco/cordova-plugin-camera master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/158.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #158
----
commit e2823f48d632e12f89960fe83ebc90ba7d0a5a6a
Author: Hernan Orozco <[email protected]>
Date: 2016-01-21T21:02:11Z
[CB-10388] - Added correctOrientation support for android 4.4
- Currently If You pass the correctOrientation param as true, the
sourceType as PHOTOLIBRARY or SAVEDPHOTOALBUM, the media type as
ALLMEDIA and the selected file is an image the correctOrientation
function is not being called. Also even if the function is called the
code is not detecting the uri and doesnât rotate the picture. These
changes fixed both issues.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]