Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not setting cookies on latest version of ionic #7

Open
Lucaszw opened this issue Jan 9, 2020 · 2 comments
Open

Not setting cookies on latest version of ionic #7

Lucaszw opened this issue Jan 9, 2020 · 2 comments

Comments

@Lucaszw
Copy link

Lucaszw commented Jan 9, 2020

This plugin was very useful, however it has recently stopped working after updating ionic and ios dependencies on the ios emulator.

When debugging using safari:

  • no cookies are visible in the storage tab after calling injectCookie
  • After injectCookie, and making a session call: although the set-cookie header is returned in the response, no cookies are stored
  • All future calls that require cookie are blocked (as needed for session authentication)

Environment
Ionic:

Ionic CLI : 5.4.13 (/Users/zeer/Documents/KitchenMate/kitchenmate/node_modules/ionic)
Ionic Framework : unknown
@ionic/v1-toolkit : 2.0.18

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic 5.4.6, cordova-plugin-ionic-webview 4.1.3, (and 7 other plugins)

Utility:

cordova-res : 0.8.1
native-run : 0.3.0

System:

Android SDK Tools : 26.1.1 (/Users/zeer/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v10.15.3 (/Users/zeer/.nvm/versions/node/v10.15.3/bin/node)
npm : 6.4.1
OS : macOS Mojave
Xcode : Xcode 11.3 Build version 11C29

Plugins
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-ionic 5.4.6 "cordova-plugin-ionic"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-wkwebview-inject-cookie 1.0.2 "WKWebViewInjectCookie"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"
onesignal-cordova-plugin 2.8.1 "OneSignal Push Notifications"

@juliannehalversen
Copy link

Are there any plugins or solutions for cookie syncing for Ionic 5?

@roman-rr
Copy link

@juliannehalversen it's works, but not on iOS 13.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants