OneSignal / OneSignal-Website-SDK

OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Other
389 stars 115 forks source link

[Question]: Google upcoming third party cookies phaseout #1169

Open nicfix opened 7 months ago

nicfix commented 7 months ago

How can we help?

I noticed that the __cf_bm cookie from the current version of OneSignal Web SDK is being flagged by Google as potentially blocked in the future.

I am currently using version 16 of the OneSignal Web sdk through the react-onesignal library.

Is there something I should do to prevent issues from happening whenever Google will block third party cookies? (Expected for later this year).

jkasten2 commented 7 months ago

@nicfix The OneSignal SDK doesn't depend on the __cf_bm cookie so it won't break anything if it becomes blocked, OneSignal's servers use CloudFlare so it is getting added automatically.

Could you share the details on where Google is flagging this cookie?

nicfix commented 7 months ago

Hi @jkasten2, thanks for your quick reply.

We are seeing the cookie being flagged in the Issues tab of Chrome's inspector. Here's a screenshot of the issue:

cookie-issue

I redacted the cookie from another third party that is not relevant to this conversation.

We are using react-onesignal@3.0.1 which in turns uses this library.