Neale Genereux created CB-4086:
----------------------------------

             Summary: 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
            Assignee: Steve Gill


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to