How to get Smart TV platform version/tv year model groups (in code)?

We have a problem where .svg file display incorrect on 2016 TV models (Webkit). So we need to replace .svg with .png files only on model 2016. How do we know in code that our tv is which tv year model group?

We check Samsung API on this link but unable to find a solution: Smart TV - Build | Samsung Developers

Any suggestion is appreciated.
Platform version info is also acceptable, we can check with TizenOS <= 2.4 version be 2016 TV models and lower. (Smart TV - Build | Samsung Developers)

Thanks,

You might get some help with this on the Smart TV Partner Seller Support If that doesn’t help you can go through Developer Support but try the TV seller support first.

Ron
Samsung Developer Relations

We had a similar problem.
We solved it by sniffing a navigator.userAgent string.
I know this user agent string should be avoided, but It is pretty solid solution for us and it works. We tested on many models from 2016 to 2021.

If we find “Tizen 6.0” string in userAgent, we know that is 2021 model.
Here is a complete list:
‘Tizen 6.0’: 2021,
‘Tizen 5.5’: 2020,
‘Tizen 5.0’: 2019,
‘Tizen 4.0’: 2018,
‘Tizen 3.0’: 2017,
‘Tizen 2.4’: 2016,
‘Tizen 2.3’: 2015

p.s. you should think about future models, they are not covered…

Here is a official samsung’s document, so you can see for yourself that map I sent is correct: