fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

HttpOnly, secure cookie with clearCookies: false are cleared when I close the app #850

Open PaoloP98 opened 3 years ago

PaoloP98 commented 3 years ago

I'am using this package for display a website with a cookies that doesn't expire when the browser is closed (the app in this case). The cookie has httpOnly and secure flags, every time that I close the app they are cleared. I set clearCookies = false (default value) but it doesn't works

System info

Issue occurs on: Android, not tested on iOS Plugin version: 0.3.11 Flutter doctor output:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.2, on Microsoft Windows [Versione 10.0.18363.1139], locale it-IT)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio (version 4.1.0)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.51.0)
[!] Connected device
    ! No devices available
PaoloP98 commented 3 years ago

maybe I solved adding the flag appCacheEnabled = true

bru95 commented 3 years ago

Hi, same problem here. Any solution?

cgdsky commented 3 years ago

@PaoloP98 @sethladd
Hello, same problem here. Any solution?