webview_cookie_manager_plus
2.0.18, released 3 weeks ago by flutter-packages.com
Manages and manipulates cookies inside WebViews for Android and iOS.
What it does
Provides methods to get, set, remove, and clear web cookies using native CookieManager on Android and httpCookieStore on iOS. It helps handle cookies efficiently alongside webview_flutter or directly.
AI-written summary of version 2.0.18, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read or write web cookies for a WebView in Flutter
- You need to manage authentication state or session cookies across web views
Skip it when
- You are looking for general local key-value storage (use SharedPreferences instead)
- You need full browser automation rather than just cookie management
Strengths
- Supports both Android and iOS native cookie stores
- Works well standalone or combined with webview_flutter
- Supports modern integration like Swift Package Manager alongside CocoaPods
Weaknesses
- Requires minimum iOS deployment target configuration
- Not intended for non-Flutter applications
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires minimum iOS deployment target of 11.0. For Swift Package Manager, use Flutter 3.44 or newer; otherwise, CocoaPods remains supported.
final cookieManager = WebviewCookieManager();
final gotCookies = await cookieManager.getCookies('https://youtube.com');Alternatives
Packages that do the same job and could replace webview_cookie_manager_plus.
- webview_flutter
Provides the official WebView widget, though advanced standalone cookie management often pairs with or utilizes packages like webview_cookie_manager_plus.
87Compare