Detect wearable vs mobile device vs TV ?

Detect wearable vs mobile device vs TV ?

BY 13 May 2024 Web Application Development

Hi,

We have a shared codebase that we’re deploying across web, mobile, and both webOS and Tizen TVs.

Is there a way to distinguish in code, whether Tizen is running on a mobile device, a wearable or a TV ? We ask because on TV sets, we’d like to change the authentication flows we want to offer.

Written by