Cookie issue
Hi there. I'm trying to show pop-up dialog with a page on some local crm site but after login upon reopening it prompts to log in again despite having all cookies saved. Google stays logged in and I can continue via it, and despite cookie being saved it doesn't properly open.
How can I troubleshoot it?
I'm trying to debug it to compare states but for some reason can't
@Osanosa Could you please provide your code? We just need a simple example.
My code is pretty simple, rememberWebviewState(url) and WebView itself. As per mentioned can't debug state — it's possible to do until WebView is displayed, then it goes out of scope and state becomes unavailable. I checked /data/data and looks like while cookie doesn't change, session storage does (/data/data/pro.themed.mdvc/app_webview/Default/Session Storage) and it looks like this when authorized: *®Ë#
This is all caused by this piece of code here:
https://github.com/KevinnZou/compose-webview-multiplatform/blob/b740b9bb126a55fc6083234103d65832dd3fd37f/webview/src/desktopMain/kotlin/com/multiplatform/webview/web/WebView.desktop.kt#L68
The project has stated that they need a desktop maintainer thus I guess no fix soon.