-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Tell us about the problem
web-view for iOS is not automatically passing the cookies after the recent change of iOS UIWebView to WKWebView(#5093)
Previous Nativescript "web-view" was using UIWebView and native code cookies(using NSURLConnection/NSURISession) is shared and the application worked fine.
We are using this feature for authentication cookies to be shared between native and web-view.
Also, I don't see easy way to set the http cookie for the current NativeScript web-view ui control.
Take a look the following link for ways to set cookie for WKWebView
https://stackoverflow.com/questions/26573137/can-i-set-the-cookies-to-be-used-by-a-wkwebview
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
- CLI: (run
tns --version
to fetch it)
$ tns --version
3.5.0-2017-12-20-10289
- Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json
file in your project)
"typings": "tns-core-modules.d.ts",
"version": "3.4.0"
- Runtime(s): (look for the
"tns-android"
and"tns-ios"
properties in the
package.json
file of your project)
"tns-ios": {
"version": "3.4.0-rc-2017-12-4-1"
}
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.