-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sessions are not saved #573
Comments
The email address you described might be stored not as cookies but in local storage, thus might work without any issue. WKWebView caches cookies on memory and doesn't guarantee to save them, so I added experimental |
Thank you for your reply. I also tried |
Hmm, how about |
iOS
Android
|
Thank you for logs. Starting from them, I checked various articles about WKWebView and session cookies, and implemented an experimental code in #574. You can get modified WebViewObject.cs and WebView.mm from the branch. In order to actually save/restore a session cookie, please refer changes of SampleWebView.cs. |
Thank you for your support. |
After logging in to a site, I restart the application, it will be logged out.
When I checked the corresponding page from the web browser, I found that the session ID was issued, and that this controls the login status.
The email address you used to log in remains in the input field on the login page, so it seems that cookies are saved but sessions are not saved.
It only happens on iOS. (Login is maintained on Android)
Since the connection destination is an external site, I cannot edit the web page.
Are there any measures?
Unity 2019.4.2f1
iPhone7(iOS 13.0), iPhoneXS(iOS13.4)
The text was updated successfully, but these errors were encountered: