You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR:cookie_manager.cc(135)] Strict Secure Cookie policy does not allow setting a secure cookie forhttp://onesignal.com/ for apps targeting >= R. Please either use the 'https:' scheme for this URL or omit the 'Secure' directivein the cookie value.
Are there some HTTP Requests not running through https?
Steps to reproduce?
I'm using Capacitor, but I think the Issue still belongs here. The problem was also mentioned in this issue: https://github.com/OneSignal/OneSignal-Android-SDK/issues/1873
I set CapacitorHttp and CapacitorCookies enabled. But I am not sure if this has an effect on the error:
const config: CapacitorConfig = {
...
server: {
androidScheme: 'https'
},
plugins: {
SplashScreen: {
launchAutoHide: false
},
CapacitorCookies: {
enabled: true,
androidCustomSchemeAllowInsecureAccess: true,
},
CapacitorHttp: {
enabled: true,
}
}
};
What did you expect to happen?
I would expect the SDK to set cookies correctly or make requests through https.
OneSignal Android SDK version
5.0.3
Android version
13
Specific Android models
Samsung Galaxy s52 5G
Relevant log output
[ERROR:cookie_manager.cc(135)] Strict Secure Cookie policy does not allow setting a secure cookie forhttp://onesignal.com/ for apps targeting >= R. Please either use the 'https:' scheme for this URL or omit the 'Secure' directivein the cookie value.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Hello,
I am seeing this error in logcat:
Are there some HTTP Requests not running through
https
?Steps to reproduce?
I'm using Capacitor, but I think the Issue still belongs here. The problem was also mentioned in this issue: https://github.com/OneSignal/OneSignal-Android-SDK/issues/1873 I set CapacitorHttp and CapacitorCookies enabled. But I am not sure if this has an effect on the error: const config: CapacitorConfig = { ... server: { androidScheme: 'https' }, plugins: { SplashScreen: { launchAutoHide: false }, CapacitorCookies: { enabled: true, androidCustomSchemeAllowInsecureAccess: true, }, CapacitorHttp: { enabled: true, } } };
What did you expect to happen?
I would expect the SDK to set cookies correctly or make requests through https.
OneSignal Android SDK version
5.0.3
Android version
13
Specific Android models
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: