I have developed a Fire TV application using HTML5 and JavaScript. Here I need to identify what is the currently accessing device. Either Amazon Fire TV or Amazon Fire Stick.
How can I do this using HTML/JavaScript..?
Thanks
I have developed a Fire TV application using HTML5 and JavaScript. Here I need to identify what is the currently accessing device. Either Amazon Fire TV or Amazon Fire Stick.
How can I do this using HTML/JavaScript..?
Thanks
You should be able to distinguish them by checking the user agent string which has the device model.
android.os.Build.MODEL
AFTB
(Fire TV Gen 1)AFTS
(Fire TV Gen 2)AFTM
(Fire TV Stick Gen 1)AFTT
(Fire TV Stick Gen 2)