2024-04-29, 07:02 PM
This is the CSP I've configured on my own server (via nginx) and it works fine with both Android apps:
Do note that this strictly disallows custom CSS/images loaded from other origins.
content-security-policy: default-src https: data: blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'
Do note that this strictly disallows custom CSS/images loaded from other origins.