aishwarya1422 opened a new issue #1029:
URL: https://github.com/apache/cordova-ios/issues/1029


   PLATFORM AND VERSION
   iOS
   InAppBrowser v4.0.0
   Cordova-ios v6.1.1
   
   **DESCRIPTION OF PROBLEM**
   We need solution with which we can sync the cookies between requests made 
from inAppBrowser and WKWebview
   
   
   **How application works**
   
   - We have a Cordova mobile application in which we are using InAppBrowser 
v4.0.0 plugin to render 3rd party pages in our application .
   
   - The requests go from InAppBrowser to 3rd party URL and the data received 
is rendered using the object tag on Webview .
   
   - Recently we have migrated to WKWebview and SQLite plugin as per the recent 
guidelines of iOS .
   
   
   **Description of Issue**
   
   - Here we are facing issues with cookie storage , when the InAppBrowser is 
initiated its instance consists of cookies with SessionId data in it .
   
   We are trying to display web pages using the Object tag in the index.html 
file of Cordova application and the content is not getting rendered due to loss 
of sessionId.
   
   - When I try to navigate through pages in my app this cookie is lost and I 
am unable to find the sessionId .
   
   The user gets logged out and it cannot access the application further , it 
is important for the cookies to persist for the application to work .
   
   **Expected Result**
   
   We want to sync the cookies so that it is available for every request we 
make from our application .
   
   Note - The apps were working with UIWebview with the latest iOS v13 .
   
   Solution tried - Tried adding this plugin 
https://github.com/CWBudde/cordova-plugin-wkwebview-inject-cookie and it didn’t 
work
   
   **STEPS TO REPRODUCE**
   Set the cookie from inappbrowser and try to get the same in webview. unable 
to get the cookie.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to