[FIXED] Safari support for apps

Hi all! :slight_smile:

I went through the Quick Start and installed my starter app. The app isn’t showing in Safari but is working fine in Chrome. I don’t have any extra content blockers running in Safari.

When the window loads in Safari, I get this error in the console 7 times:

Unrecognized Content-Security-Policy directive 'worker-src'.

Followed by 3 401s, for :

https://...cdn...chunk.css
https://...cdn...chunk.js
https://...cdn...chunk.js

Any ideas if there’s anything I can do on my side to make this work in Safari? I don’t typically write in React and am not super familiar with working with service workers.

Hi @Ash
Yes, it’s a known issue with Safari, private apps are not working in the newest version of Safari because of 3rd party cookies sharing limitation, that Safari just introduced.
We are working to resolve this.

1 Like

It works when you disable “prevent cross-site tracking” in safari preferences under “privacy” options.

Unfortunately this option has no white-list, so disabling this allows cross-site tracking on ALL websites again.

1 Like

Thanks @JeroenV! That would probably be fine for development, but I wouldn’t want to direct my team to do this for day-to-day usage of the Monday app.

I can’t be sure, but according the documentation here: Introducing Storage Access API | WebKit

We can prompt the user to allow access, but in order to do so Monday needs to add allow-storage-access-by-user-activation to the iframe.

@JeroenV has there been any progress on this since the summer and would it be possible to give this solution a try?

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.