[ 
https://issues.apache.org/jira/browse/CB-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill updated CB-4086:
---------------------------

    Assignee:     (was: Steve Gill)

> Add option for "Cancelable" to InAppBrowser on Android
> ------------------------------------------------------
>
>                 Key: CB-4086
>                 URL: https://issues.apache.org/jira/browse/CB-4086
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin InAppBrowser
>    Affects Versions: 2.8.0
>         Environment: Android
>            Reporter: Neale Genereux
>
> Currently, the InAppBrowser plugin, when instructed to create a browser with 
> the '_blank' option, will always call dialog.setCancelable(true); on the 
> child browser view. This allows the user to dismiss the in-app browser with 
> the hardware back button.
> There are cases where the host application does not want the user to be able 
> to dismiss the child browser without explicit action being performed within 
> it. In these cases, it would be great to have an option available when 
> invoking the browser from JS to set this value to false. This could either be 
> a separate option, or it could use the same value as "location". Since 
> removing the location bar removes the user's ability to manually dismiss this 
> view on all other platforms, it is reasonable to assume it should remove the 
> hardware back button functionality as well.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to