You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vidhyashankar (JIRA)" <ji...@apache.org> on 2016/02/09 09:54:18 UTC
[jira] [Created] (CB-10566) ios 9.2 in-app browser & cookie handoff
Vidhyashankar created CB-10566:
----------------------------------
Summary: ios 9.2 in-app browser & cookie handoff
Key: CB-10566
URL: https://issues.apache.org/jira/browse/CB-10566
Project: Apache Cordova
Issue Type: Bug
Components: Plugin InAppBrowser
Affects Versions: 1.2.0
Environment: ionic app ( inappbrowser 1.2.0 ) + ios 9.2
Reporter: Vidhyashankar
Priority: Minor
We are using the inappbrowser to open an external webpage for authentication in an ionic app. On a successful auth, we receive auth token as a cookie as part of the response in the in-appbrowser. On closing the in-appbrowser, any subsequent http calls we make through the core Angular $http service from the ionic webview has the cookie and allows us to make calls. This works perfectly in Android and pre ios 9.2
In ios 9.2, there is a delayed hand-off, meaning from the time the in-appbrowser receives the token (we close in-app browser then and try making the $http call right away) and for us to make a successful $http call takes about a minute. In this duration, the cookie is not present in the webview. Eventually after a minute or so, the cookie is present and we can make $http calls.
This was working ok with ios 9 and pre ios 9 OS without any delay. I am not sure, if this has anything to do with the in-app browser plugin. But i was wondering if there is anything i can look at or if anyone has come across a similar issue ?
--
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