matthewhudson / current-device

📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
https://matthewhudson.github.io/current-device/
MIT License
3.94k stars 587 forks source link

Fails to detect Amazon Kindle Fire Tablets #91

Open bgfeldm opened 9 years ago

bgfeldm commented 9 years ago

Amazon Kindle Fire tablets are detected as Desktop Landscape

matthewhudson commented 9 years ago

@bgfeldm Can you share a User Agent string?

coliff commented 9 years ago

Hi - Amazon's Fire devices use Silk browser so the UA detection should look for 'silk'

Some good info here: Amazon Silk User Agent Strings http://docs.aws.amazon.com/silk/latest/developerguide/user-agent.html

User Agent Strings for Fire Tablets https://developer.amazon.com/public/solutions/devices/fire-tablets/specifications/04-user-agent-strings