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
Android SDK 31 iframe not save cookies #1417
Comments
Starting in API 31 on Android 12 devices, Google has started enforcing SameSite policies for WebView cookies. Cordova cannot override this policy. Personally I don't use cookies so I'm not totally familiar with the SameSite policies but they have a guide that should be able to help. It may involve making changes to your server. Closing as won't fix. |
since the cookies and sessions are not working in to the iframe from targetSdk 31 and up, also it will not work on IOS app, I used window.open() to make a workaround solution. |
Same problem here, has anybody found a solution for this issue? |
@enricodente you should add to your cookie the attribute SameSite=None (and "Secure" attribute if you don't have it yet) |
When I set targetSdkVersion to 31 my iframe not saving session cookies
<preference name="android-targetSdkVersion" value="31" />
When I change targetSdk to 30 everythings worked
The text was updated successfully, but these errors were encountered: