[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16093273#comment-16093273 ] ASF GitHub Bot commented on CB-8467: Github user herrevilkitten commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 @bnova-stefan It appears to be https://issues.apache.org/jira/browse/CB-12586 > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-inappbrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16093233#comment-16093233 ] ASF GitHub Bot commented on CB-8467: Github user bnova-stefan commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Hi @jcesarmobile Could you tell me more about the bug? I have to hide the browser to scan something with the camera and fill in the scanned value in a form field. Is there any workaround to hide the browser window? Thank you very much Stefan > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-inappbrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16065556#comment-16065556 ] ASF GitHub Bot commented on CB-8467: Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 @bgallz there is a bug (already reported) about hide not working because of other changes. > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-inappbrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16065545#comment-16065545 ] ASF GitHub Bot commented on CB-8467: Github user bgallz commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Thank you for providing this update! I have one question however. I am using Ionic v2.1.4 with iOS v4.0.1 (not sure that's relevant in this case) and I am seeing that the view controller used in the hide method here does not have any effect. This line: `[self.viewController dismissViewControllerAnimated:YES completion:nil];` Does not appear to do anything. However, when I make the dismiss call like so: `[self.inAppBrowserViewController dismissViewControllerAnimated:YES completion:nil];` The InAppBrowser is hidden as expected. Can anyone else confirm this? Thanks again! > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-inappbrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589894#comment-15589894 ] ASF GitHub Bot commented on CB-8467: Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 merged, thank you everyone and sorry that it took so long > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589891#comment-15589891 ] ASF GitHub Bot commented on CB-8467: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589889#comment-15589889 ] ASF subversion and git services commented on CB-8467: - Commit df8bcaf7515569733704fe780402f9123a60d61d in cordova-plugin-inappbrowser's branch refs/heads/master from ekidder3 [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=df8bcaf ] CB-8467 Added support for hiding the web view container. This maintains the browser session without closing it. The browser window can be repeatedly hidden and shown. ** This has only been tested on android and ios ** amazon/android: An additional `hide` action was added to `InAppBrowser#execute`. It is identical to `show`, except that it calls `dialog.hide()` instead. blackberry10: no changes firefoxos: Added a `hide` method that is identical to `show`, indicating it is not supported. ios: Added a `hide` method that is identical to `show`, except that it uses `dismissViewControllerAnimated`. It checks the value of `_previousStatusBarStyle`. If it is `-1`, the method returns with no action performed. If it is not, it is set to `-1.` ubuntu: Added a `hide` method that sets `CordovaWrapper.global.inappbrowser.visible` to `false`. windows: Added a `hide` method that sets `browserWrap.style.display` to `none`. wp: Added a `hide` method that is identical to `show`, except that it sets `browser.Visibility` to `Visibility.Collapsed` and sets `AppBar.IsVisible` to `false`. > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589406#comment-15589406 ] ASF GitHub Bot commented on CB-8467: Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Cordova CI Build has completed successfully. **Commit** - [Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/101/commits/98ed7f7cc16ccd219ef491bf44ce3134cefd1623) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88/) | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---:| | [Windows 8.1 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-store/artifact/) | | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-10-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-10-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-10-store/artifact/) | | [Windows 8.1 Phone]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-phone/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-phone/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-phone/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=windows-8.1-phone/artifact/) | | [iOS]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=ios/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=ios/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=ios/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=ios/artifact/) | | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=android/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=android/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=android/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/88//PLATFORM=android/artifact/) | > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588637#comment-15588637 ] ASF GitHub Bot commented on CB-8467: Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 let there be tests > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588503#comment-15588503 ] ASF GitHub Bot commented on CB-8467: Github user herrevilkitten commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Thanks you @sfrank87 for the help with this :) The duplicate methods are probably from some wacky merge conflict resolution I had going on. > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588489#comment-15588489 ] ASF GitHub Bot commented on CB-8467: Github user DigitalSkyline commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 I added this to my project much appreciated! > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588208#comment-15588208 ] ASF GitHub Bot commented on CB-8467: Github user sfrank87 commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 @jcesarmobile [done](https://github.com/herrevilkitten/cordova-plugin-inappbrowser/pull/1). regards Frank > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588155#comment-15588155 ] ASF GitHub Bot commented on CB-8467: Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 @sfrank87 can you send a PR to @herrevilkitten repo against CB-8467_provide_hide_method_to_hide_browser_window branch removing the duplicate method and adding the test? > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588125#comment-15588125 ] ASF GitHub Bot commented on CB-8467: Github user sfrank87 commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Btw, I have written a little test case for the hide method, that can be found [here](https://github.com/sfrank87/IABTests). @herrevilkitten just copy the tests.js into the tests/ folder. This adds a litte automatic test, checking for the existence of the JS hide method and a manual test that opens the IAB, than hides it after 2 seconds. regards Frank > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588036#comment-15588036 ] ASF GitHub Bot commented on CB-8467: Github user sfrank87 commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Hi. Thank you very much for your effort. :) I found an misstake in [CDVInAppBrowser.m](https://github.com/herrevilkitten/cordova-plugin-inappbrowser/blob/df8bcaf7515569733704fe780402f9123a60d61d/src/ios/CDVInAppBrowser.m). The hide method was implemented twice, in line 246 and in line 270. ^^" However, I wonder what's wrong with the android build. After all, the hide implementation is an exact copy of show, except for two words. (i diffed both sections, seems no misstakes). And the [Jenkins log](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/PLATFORM=android/56/console) seems a bit strange, too. For me, it’s a bit conspicuous that it says “no workspace”. O.o regards Frank > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586873#comment-15586873 ] ASF GitHub Bot commented on CB-8467: Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Cordova CI Build has one or more failures. **Commit** - [Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/101/commits/df8bcaf7515569733704fe780402f9123a60d61d) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86/) | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---:| | [Windows 8.1 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-store/artifact/) | | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-10-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-10-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-10-store/artifact/) | | [Windows 8.1 Phone]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-phone/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-phone/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-phone/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=windows-8.1-phone/artifact/) | | [iOS]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=ios/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=ios/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=ios/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=ios/artifact/) | | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=android/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=android/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=android/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/86//PLATFORM=android/artifact/) | > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586841#comment-15586841 ] ASF GitHub Bot commented on CB-8467: Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 let there be tests > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586357#comment-15586357 ] ASF GitHub Bot commented on CB-8467: Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Cordova CI Build has one or more failures. **Commit** - [Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/101/commits/df8bcaf7515569733704fe780402f9123a60d61d) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85/) | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---:| | [Windows 8.1 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-store/artifact/) | | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-10-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-10-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-10-store/artifact/) | | [Windows 8.1 Phone]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-phone/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-phone/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-phone/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=windows-8.1-phone/artifact/) | | [iOS]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=ios/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=ios/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=ios/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=ios/artifact/) | | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=android/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=android/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=android/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/85//PLATFORM=android/artifact/) | > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15585628#comment-15585628 ] ASF GitHub Bot commented on CB-8467: Github user herrevilkitten commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 @sfrank87 @DigitalSkyline conflicts de-conflicts, checks passed > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15585583#comment-15585583 ] ASF GitHub Bot commented on CB-8467: Github user herrevilkitten commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Sure I can fix the conflicts. It's ... been a while > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15584785#comment-15584785 ] ASF GitHub Bot commented on CB-8467: Github user sfrank87 commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 Hi, I am interested in this functionality, too. It’s a pity, it never found its way to the upstream repository. :/ Could you please solve the merge conflicts? That would be great. :D Thanks a lot! Frank > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15137505#comment-15137505 ] ASF GitHub Bot commented on CB-8467: Github user sgrebnov commented on the pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/101#issuecomment-181528137 lgtm > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > Labels: Triaged > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14736811#comment-14736811 ] ASF GitHub Bot commented on CB-8467: Github user zalun commented on the pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/101#issuecomment-138903930 FFOS +1 > inappbrowser -- provide ability to hide browser window without closing session > -- > > Key: CB-8467 > URL: https://issues.apache.org/jira/browse/CB-8467 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: iOS, Android >Reporter: Eric Kidder > > I have a need to hide the InAppBrowser UI without closing the session. This > is to handle a situation I have, where a RESTful interface uses > authentication and will redirect users to a separate login page. > The InAppBrowser is created with hidden=yes, so that it is created without a > UI. > When the user is authenticated, the JSON will be downloaded normally and the > browser window will not be shown. > When the user is not authorized, they will be redirected to an HTML page in > order to authenticate. > After authentication, the user is redirected back to the API URL, where the > JSON will be displayed in the InAppBrowser. > Having the ability to hide the browser window will keep the user from seeing > the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14660008#comment-14660008 ] ASF GitHub Bot commented on CB-8467: Github user schoettler commented on the pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/101#issuecomment-128367177 +1 inappbrowser -- provide ability to hide browser window without closing session -- Key: CB-8467 URL: https://issues.apache.org/jira/browse/CB-8467 Project: Apache Cordova Issue Type: Improvement Components: Plugin InAppBrowser Affects Versions: Master Environment: iOS, Android Reporter: Eric Kidder I have a need to hide the InAppBrowser UI without closing the session. This is to handle a situation I have, where a RESTful interface uses authentication and will redirect users to a separate login page. The InAppBrowser is created with hidden=yes, so that it is created without a UI. When the user is authenticated, the JSON will be downloaded normally and the browser window will not be shown. When the user is not authorized, they will be redirected to an HTML page in order to authenticate. After authentication, the user is redirected back to the API URL, where the JSON will be displayed in the InAppBrowser. Having the ability to hide the browser window will keep the user from seeing the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14395470#comment-14395470 ] ASF GitHub Bot commented on CB-8467: GitHub user herrevilkitten opened a pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/101 CB-8467 provide hide method to hide browser window Added support for hiding the web view container. This maintains the browser session without closing it. The browser window can be repeatedly hidden and shown. ** This has only been tested on android and ios ** amazon/android: An additional `hide` action was added to `InAppBrowser#execute`. It is identical to `show`, except that it calls `dialog.hide()` instead. blackberry10: no changes firefoxos: Added a `hide` method that is identical to `show`, indicating it is not supported. ios: Added a `hide` method that is identical to `show`, except that it uses `dismissViewControllerAnimated`. It checks the value of `_previousStatusBarStyle`. If it is `-1`, the method returns with no action performed. If it is not, it is set to `-1.` ubuntu: Added a `hide` method that sets `CordovaWrapper.global.inappbrowser.visible` to `false`. windows: Added a `hide` method that sets `browserWrap.style.display` to `none`. wp: Added a `hide` method that is identical to `show`, except that it sets `browser.Visibility` to `Visibility.Collapsed` and sets `AppBar.IsVisible` to `false`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/herrevilkitten/cordova-plugin-inappbrowser CB-8467_provide_hide_method_to_hide_browser_window Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-inappbrowser/pull/101.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 #101 commit 573b1bdc777370a8af860a5b6044e8ddb3f69932 Author: ekidder3 eric.kid...@gtri.gatech.edu Date: 2015-02-05T12:20:57Z CB-8467 Added support for hiding the web view container. This maintains the browser session without closing it. The browser window can be repeatedly hidden and shown. ** This has only been tested on android and ios ** amazon/android: An additional `hide` action was added to `InAppBrowser#execute`. It is identical to `show`, except that it calls `dialog.hide()` instead. blackberry10: no changes firefoxos: Added a `hide` method that is identical to `show`, indicating it is not supported. ios: Added a `hide` method that is identical to `show`, except that it uses `dismissViewControllerAnimated`. It checks the value of `_previousStatusBarStyle`. If it is `-1`, the method returns with no action performed. If it is not, it is set to `-1.` ubuntu: Added a `hide` method that sets `CordovaWrapper.global.inappbrowser.visible` to `false`. windows: Added a `hide` method that sets `browserWrap.style.display` to `none`. wp: Added a `hide` method that is identical to `show`, except that it sets `browser.Visibility` to `Visibility.Collapsed` and sets `AppBar.IsVisible` to `false`. inappbrowser -- provide ability to hide browser window without closing session -- Key: CB-8467 URL: https://issues.apache.org/jira/browse/CB-8467 Project: Apache Cordova Issue Type: Improvement Components: Plugin InAppBrowser Affects Versions: Master Environment: iOS, Android Reporter: Eric Kidder I have a need to hide the InAppBrowser UI without closing the session. This is to handle a situation I have, where a RESTful interface uses authentication and will redirect users to a separate login page. The InAppBrowser is created with hidden=yes, so that it is created without a UI. When the user is authenticated, the JSON will be downloaded normally and the browser window will not be shown. When the user is not authorized, they will be redirected to an HTML page in order to authenticate. After authentication, the user is redirected back to the API URL, where the JSON will be displayed in the InAppBrowser. Having the ability to hide the browser window will keep the user from seeing the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail:
[jira] [Commented] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
[ https://issues.apache.org/jira/browse/CB-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14321712#comment-14321712 ] Eric Kidder commented on CB-8467: - Pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/81 inappbrowser -- provide ability to hide browser window without closing session -- Key: CB-8467 URL: https://issues.apache.org/jira/browse/CB-8467 Project: Apache Cordova Issue Type: Improvement Components: Android, CordovaJS, iOS Affects Versions: Master Reporter: Eric Kidder I have a need to hide the InAppBrowser UI without closing the session. This is to handle a situation I have, where a RESTful interface uses authentication and will redirect users to a separate login page. The InAppBrowser is created with hidden=yes, so that it is created without a UI. When the user is authenticated, the JSON will be downloaded normally and the browser window will not be shown. When the user is not authorized, they will be redirected to an HTML page in order to authenticate. After authentication, the user is redirected back to the API URL, where the JSON will be displayed in the InAppBrowser. Having the ability to hide the browser window will keep the user from seeing the JSON and improve the user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org