You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/13 10:36:20 UTC

[jira] [Commented] (CB-12010) [INAppBrowser] Opening a relative path in _system would crash the app on Android 7.0

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

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

GitHub user alsorokin opened a pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/191

    CB-12010 (android) Catch FileUriExposedException

    ### Platforms affected
    Android
    
    ### 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 affected.
    - [ ] 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:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/191.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 #191
    
----
commit efae0573dd6e56205a3ce3615c9ef8edf0ce7623
Author: Alexander Sorokin <al...@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
(v6.3.4#6332)

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