Closed Bug 812197 Opened 13 years ago Closed 12 years ago

Zepto framework platform detection doesn't detect FF mobile as Android

Categories

(Web Compatibility :: Site Reports, defect)

ARM
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jdm, Assigned: miketaylr)

References

()

Details

In particular, the check in https://github.com/madrobby/zepto/blob/master/src/detect.js relies on seeing the string Android followed by a version number. Since we don't provide one, Zepto doesn't classify FF mobile on Android as an Android device.
Assignee: nobody → miket
I sent a PR here: https://github.com/madrobby/zepto/pull/830 ...and it got merged before I even finished writing this comment. :) So now Zepto will set os.android to true for F4A, but os.version will always be undefined. Not much we can do about that, realistically.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.