GitHub user TanaseButcaru opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/169

    separate FILE_URI and NATIVE_URI / take in account user defined destType

    Right now, on Android, ``FILE_URI`` and ``NATIVE_URI`` returns the path 
with ``content://`` scheme, excepting the case when the image has been modified.
    
    These changes take in account what is the user defined ``destType`` and 
returns the path as requested.
    
    I know there were discussions on JIRA 
([CB-9548](https://issues.apache.org/jira/browse/CB-9548)) about how 
``FILE_URI`` and ``NATIVE_URI`` should look, but I came to think that it should 
be like this:
    * FILE_URI should return the ``file://`` scheme;
    * NATIVE_URI should return the ``content://`` scheme;

You can merge this pull request into a Git repository by running:

    $ git pull 
https://github.com/TanaseButcaru/cordova-plugin-camera-unofficial 
fileuri-nativeuri

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/169.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 #169
    
----
commit 5e496f143c9b980ece203141204452bbf9178702
Author: TanaseButcaru <[email protected]>
Date:   2016-02-15T02:04:08Z

    separate FILE_URI and NATIVE_URI

----


---
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]

Reply via email to