Content Security Policy doesn’t work in older Samsung TV
By Sagala
15 May 2020 08:21
English
0 Replies
I have a Tizen widget wich pointed to my hosted app URL.
I'm using this config to whitelist some domains that I use in my app:
<access origin="http:://my-domain" subdomains="true"></access>
However, this doesn't seem to work in Samsung 2020 TV, and Samsung advises me to use Content-Security-Policy instead.
So I follow the advice and use this in my config instead:
<tizen:content-security-policy>
default-src 'self' *.my-domain
</tizen:content-security-policy>
This works wonder in Samsung 2020, but now my app opened in a windowed browser in older Samsung tvs.
What is the solution that's compatible for all Samsung TVs?
Edited on 15 05, 2020
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.