This repository has been archived by the owner on Jan 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 314
[Questions]: How can get cookie which is set in webview in react-native? #148
Comments
Why are you providing the "true" , is it the value for "WebKit" ? In this case you might confused with React-Native-Cookies and React-Native-Cookie |
Yes, I am using the
Second:
According to https://github.com/joeferraro/react-native-cookies#webkit-support-ios-only, it does say to pass a bool with the url to use the webkit support. |
I have forked the repo here: https://github.com/safaiyeh/react-native-cookie-store |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to retrieve user entered zipcode which is added to the cookie in the webview. How do I get it? I have tried react-native-cookies which is getting an empty object not the user entered zipcode. When pass useWebKit to true and CookieManager.get('https://www.example.com', true) getting error RNCookieManagerIOS.get was called with 2 arguments but expects 1 arguments
Versions
The text was updated successfully, but these errors were encountered: