Opened 6 years ago

Last modified 20 months ago

#17512 assigned defect

Sniff android returns undefined on firefox android

Reported by: aedgar93 Owned by: dylan
Priority: low Milestone: 1.14
Component: Core Version: 1.9.1
Keywords: Cc: Eric Durocher
Blocked By: Blocking:

Description

While one firefox for the android, has("android") is returning undefined. It seems to be working fine on chrome and the android default browser.

I am running Firefox version 24.0. My tablet is Samsung Galaxy Note 10.1. Model Number: GT-N8013. Android version 4.1.2.

Change History (7)

comment:1 Changed 6 years ago by bill

Cc: Eric Durocher added

comment:2 Changed 4 years ago by denovichas

FF does not return the version on Android - https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference

this line in sniff.js

has.add("android", parseFloat(dua.split("Android ")[1]) || undefined);

needs to be something like, not sure what the version number should be set to.

has.add("android", parseFloat(dua.split("Android ")[1]) || dua.indexOf('Android; Mobile;') > -1 || undefined);

comment:3 Changed 3 years ago by dylan

Component: GeneralCore

comment:4 Changed 3 years ago by dylan

Milestone: tbd1.11
Owner: set to dylan
Priority: undecidedlow
Status: newassigned

comment:5 Changed 3 years ago by dylan

Milestone: 1.111.12

Ok, after massive triage, ended up with about 80 tickets for 1.11 and 400 or so for 1.12. That's a bit unrealistic, so first I changed all 1.12 to 1.13 (with the plan to move some forward to the new 1.12. Now, I'm moving some of the 1.11 tickets that are less likely to get done this month without help to 1.11. Feel free to help out in January if you want to see this ticket land in 1.11.

comment:6 Changed 3 years ago by dylan

Milestone: 1.121.13

Ticket planning... move current 1.12 tickets out to 1.13 that likely won't get fixed in 1.12.

comment:7 Changed 20 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.