bestiejs/platform.js

Support Web Application browsers in Devices

Opened this issue · 2 comments

Devices such as Amazon Fire TV, Sony Bravia Android TV, WebOS on LG all use a web browser to display applications. At present, most of these are reported as 'Android Browser' on 'Android'.

Is it possible to add further support for these devices, to be more granular?

Agaff commented

user-agent string.

Here's a few:
Mozilla/5.0 (Linux; Android 8.0.0; BRAVIA 4K UR2 Build/OPR2.170623.027.S63; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.93 Mobile Safari/537.36 is a Sony Bravia Android TV

Mozilla/5.0 (Linux; Android 9; SHIELD Android TV Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.93 Mobile Safari/537.36 is an Android Nvidia Shield device

Mozilla/5.0 (Linux; Android 7.1.2; AFTMM Build/NS6268; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36 is an Amazon Fire TV device

Thank you!