Requirement: I have to show a popup(under maintenance) to block the using of our website through TV browser. We are using ReactJS.
I'm unable to get the device information(to check whether its a tv device) using the UserAgents that we are getting from Toshiba and Huawei Tvs
I tried to find the device is a TV using user agents but it does n't work for all TVs
Some examples of user agents that we got from TVs but it doesn't provide any info about detecting TVs
Toshiba - Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X;en-us) AppleWebKit/534.46(KHTML,like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3
Huawei TV - Mozilla/5.0 (Linux; Android 10.0; KANT-359 Build/HUAWEIKANT-359) AppleWebKit/537.36(KHTML,like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36
Please help!