You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/26 11:32:23 UTC

[GitHub] [cordova-plugin-inappbrowser] tinni95 opened a new issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

tinni95 opened a new issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851


   Hello,
   
   I am experiencing issues with sharing cookies between the InAppBrowser and the cordova webView. 
   
   What I am trying to achieve is doing an authentication via inAppBrowser; and after, closing it and continue on an iframe in the main ionic webview.
   In android everything works and the cookies are shared out of the box, in Ios this does not happen. In fact, whereas the inAppBrowser correctly receives the login cookies; in the iframe of the ionic app we do not have any session cookie.
   
   Is there a way to replicate the same behavior of android on IOS devices?
   
   Thanks in andvance 


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] CarloDotlog commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
CarloDotlog commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-797421175


   Hello @mattdsteele, are there any news about this issue? 
   At this moment, we aren't able to access an entire private-area of our app due this problem. 
   
   Is there a way to replicate the same behavior of android on IOS devices?
   
   Thank you! 


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] NiklasMerz commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
NiklasMerz commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-821152906


   This plugin is not designed to work with Capacitor like that.
   
   @deu-dev You fix looks interesting. We cannot fix this like that for Cordova in this upstream plugin but might not need to fork the entire IAB plugin. You could try to build a small plugin that just adds the WKProcesspool for capacitor projects.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] deu-dev commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
deu-dev commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-821090050


   @CarloDotlog We fixed this with capacitor you can get the fixed Version here https://www.npmjs.com/package/@sirum/cordova-plugin-inappbrowser-capacitor


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mattdsteele commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
mattdsteele commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-789296712


   @tinni95 A few questions:
   
   - Which version of the `inappbrowser` plugin are you using?
   - Which version of `cordova-ios`?
   - Is your Ionic app inside an iframe, or is it being loaded using a standard `file://` method?


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] NiklasMerz closed issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
NiklasMerz closed issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] demym edited a comment on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
demym edited a comment on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-979333268


   What if we don't use capacitor ? I have the same beahviour as someone else, authenticate using a inappbrowser, but the server cookies are not then available to the Ionic5 app....
   
   With Ionic3 it worked.... This is causing me a big problem. Any chances to get this fixed ?
   
   Thanks
   
   
   this is my ionic info command result:
   
   
   Ionic:
   
      Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
      Ionic Framework               : @ionic/angular 5.9.1
      @angular-devkit/build-angular : 12.1.4
      @angular-devkit/schematics    : 12.1.4
      @angular/cli                  : 12.1.4
      @ionic/angular-toolkit        : 4.0.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0 (cordova-lib@10.1.0)
      Cordova Platforms : ios 4.4.0
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 6 other plugins)
   
   Utility:
   
      cordova-res : not installed
      native-run  : not installed
   
   System:
   
      Android SDK Tools : 26.1.1 (/Users/demetriomortelliti/Library/Android/sdk)
      NodeJS            : v14.15.5 (/usr/local/bin/node)
      npm               : 6.14.11
      OS                : macOS Big Sur
      Xcode             : Xcode 13.0 Build version 13A233
   


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] demym commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
demym commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-979333268


   What if we don't use capacitor ? I have the same beahviour as someone else, authenticate using a inappbrowser, but the server cookies are not then available to the Ionic5 app....
   
   With Ionic3 it worked.... This is causing me a big problem. Any chances to get this fixed ?
   
   Thanks


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] CarloDotlog commented on issue #851: Ios - How to share cookies between inAppBrowser and cordova webview

Posted by GitBox <gi...@apache.org>.
CarloDotlog commented on issue #851:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/851#issuecomment-789613717


   Hello @mattdsteele. I'm in the same team with @tinni95. 
   
   - inappbrowser:5.0.0
   - We are using Capacitor, how can I check which version of cordova-ios we are using? 
   - We use an iframe that point to website.
   
   Thank you!
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org