CookieManager constructor
CookieManager()
Class that implements a singleton object (shared instance) which manages the cookies used by WebView instances. On Android, it is implemented using CookieManager. On iOS, it is implemented using WKHTTPCookieStore.
NOTE for iOS below 11.0 and Web platform (LIMITED SUPPORT!): in this case, almost all of the methods (PlatformCookieManager.deleteAllCookies and PlatformCookieManager.getAllCookies are not supported!) has been implemented using JavaScript because there is no other way to work with them on iOS below 11.0. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies for JavaScript restrictions.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Web
- Windows
Implementation
CookieManager()
: this.fromPlatformCreationParams(
const PlatformCookieManagerCreationParams(),
);