cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Kidder (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8467) inappbrowser -- provide ability to hide browser window without closing session
Date Thu, 12 Feb 2015 17:45:12 GMT
Eric Kidder created CB-8467:
-------------------------------

             Summary: 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message