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

ASF GitHub Bot commented on CB-11995:
-------------------------------------

GitHub user alsorokin opened a pull request:

    https://github.com/apache/cordova-plugin-media-capture/pull/72

    CB-11995 (android) Do not pass a file uri to the camera

    ### Platforms affected
    Android
    
    ### What does this PR do?
    Fixes an image capture not to throw a FileUriExposedException on Android 7.0
    https://issues.apache.org/jira/browse/CB-11995
    
    ### What testing has been done on this change?
    Tested on Android 7.0 emulator as well as on various API level 19-22 
emulators.
    
    ### Checklist
    - [x] [Reported an issue](https://issues.apache.org/jira/browse/CB-11995) 
in the JIRA database
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
    - [ ] Added automated test coverage as appropriate for this change - *this 
can be tested only by manual test*.
    


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

    $ git pull https://github.com/alsorokin/cordova-plugin-media-capture 
CB-11995

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

    https://github.com/apache/cordova-plugin-media-capture/pull/72.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 #72
    
----
commit 108c2eff02700c90103e63c09e8144d965aff03f
Author: Alexander Sorokin <alexander.soro...@akvelon.com>
Date:   2016-10-11T15:04:32Z

    CB-11995 (android) Do not pass a file URI to the camera

----


> Media Capture plugin's captureImage crashes the app on Android 7.0
> ------------------------------------------------------------------
>
>                 Key: CB-11995
>                 URL: https://issues.apache.org/jira/browse/CB-11995
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media Capture
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>              Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



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

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

Reply via email to