Currently I'm trying build a tv application. The goal is to have the ability to run the project on the laptop browser and have it work on the tv as an app.
So what I'm trying to do is detect if user is a browser or a app on the tv.
I've tried using user agents it works when I try to detect a browser so it tells me that its Chrome for instance. It does not work when I try to detect the tv.
Expected: Console log me back the user agent when on tv.
Actual: Currently its just not detecting a user.