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

Jesse MacFadyen commented on CB-3420:
-------------------------------------

Should the visibility api actually be :

var iab = window.open('$OAUTH_URL', 'hidden=yes');

//some time later.
iab.focus();

// some time later than that
iab.blur();
                
> InAppBrowser Option to Start Hidden
> -----------------------------------
>
>                 Key: CB-3420
>                 URL: https://issues.apache.org/jira/browse/CB-3420
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS, mobile-spec
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
> flows can be done without any user interaction, so it would be great if the 
> InAppBrowser had an option where it would start hidden, and could later be 
> reveals through a JS call.
> E.g.
> var iab = window.open('$OAUTH_URL', 'hidden=yes');
> //some time later.
> iab.show();

--
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