ASF GitHub Bot commented on CB-12010:

GitHub user alsorokin opened a pull request:


    CB-12010 (android) Catch FileUriExposedException

    ### Platforms affected
    ### What does this PR do?
    Fixes a crash on Android 7.0 devices when trying to open a file URI in the 
system browser.
    ### What testing has been done on this change?
    Manual testing on Android 7.0 emulator
    ### Checklist
    - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
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 
    - [ ] Added automated test coverage as appropriate for this change - *can 
only be tested manually*.

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

    $ git pull https://github.com/alsorokin/cordova-plugin-inappbrowser CB-12010

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


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #191
commit efae0573dd6e56205a3ce3615c9ef8edf0ce7623
Author: Alexander Sorokin <alexander.soro...@akvelon.com>
Date:   2016-10-13T10:29:23Z

    CB-12010 (android) Catch FileUriExposedException


> [INAppBrowser] Opening a relative path in _system would crash the app on 
> Android 7.0
> ------------------------------------------------------------------------------------
>                 Key: CB-12010
>                 URL: https://issues.apache.org/jira/browse/CB-12010
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: Master
>         Environment: Android API level 24
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>              Labels: triaged
> This issue can be reproduced by running manual tests for InAppBrowser and 
> clicking on `target=_system` button in `Local URL` section.

This message was sent by Atlassian JIRA

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

Reply via email to