Page 1 of 1
Firefox 10 detected as mobile device
Posted: Wed Feb 15, 2012 5:48 pm
by express
Hi there,
I just updated to Firefox 10.0.1, and suddenly wurfl is detecting the browser as is_wireless_device=true, with resolution_width=128.
Here's my UserAgent:
Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Compared to my previous UserAgent:
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Wurfl version:
db.scientiamobile.com - 2012-02-12 00:00:01
Re: Firefox 10 detected as mobile device
Posted: Wed Feb 15, 2012 6:59 pm
by kamermans
Thanks for bringing this to our attention. Our records indicate that you are using the Java API - can you confirm the API version while we attempt to reproduce the issue?
Re: Firefox 10 detected as mobile device
Posted: Wed Feb 15, 2012 10:04 pm
by sm_support2
Are you using the web patch? if yes, which version?
Thanks
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 3:21 am
by logiboy
I'm experiencing the same issue, since last firefox update, all Firefox 10 are detected as Mobile.
This is a critical issue...
I've tried checking both:
Code: Select all
Dim isMobile As Boolean = device.GetCapabilities("is_wireless_device")
Dim hasWebSupport As Boolean = device.GetCapabilities("device_claims_web_support")
if isMobile then
If hasWebSupport Then
//Is desktop
Else
//is mobile
End If
end if
But it still detecting firefox 10 as mobile. There is no way for detecting it.
Any idea or solution?
Thanks
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 4:36 am
by express
Hi there,
Our records indicate that you are using the Java API - can you confirm the API version while we attempt to reproduce the issue?
I'm using the .NET API, v1.3
Are you using the web patch?
I was using quite an old web patch file, but tried updating to the newest version on the downloads page (2.3, from 11 November) with no effect.
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 4:49 am
by logiboy
I'm also having last version of browser patch
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 8:15 am
by luca.passani
Thank you for the message. Our plan was to have this fixed by 1.4 together with all of the other improvements, but since this is obviously a pain point for many, we are releasing an extraordinary Java 1.3.6 version on SourceForge (1.3.3 already fixes this for .NET).
Hopefully, we can get this out by this afternoon (US time). Worst case scenario it will be tomorrow.
Sorry for the hassle.
Thanks
Luca
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 4:26 pm
by sm_support2
Everyone interested by the Firefox issue can download version 1.3.6 of the API from here:
http://sourceforge.net/projects/wurfl/f ... API/1.3.6/
For the record, this is an unscheduled release on the way to 1.4, so, while unlikely, there may be issues in migrating from 1.3. In that case, please report and the engineering team will be on top of this
Thank you
Re: Firefox 10 detected as mobile device
Posted: Thu Feb 16, 2012 7:44 pm
by express
Thanks for your help guys, the latest version of the .NET API (1.3.2) fixed the problem for me.
I had some ambiguous reference problems getting it running because it clashes with Ionic.Zip, but now I'm just using Ionic.Zip via WURLF.dll. Can we count on Ionic.Zip always being included in the dll from now on?
Re: Firefox 10 detected as mobile device
Posted: Sun Feb 26, 2012 10:12 am
by simons
I downloaded and change the jar file with the 1.3.6 and it works for Firefox 10 but for earlier version like 3.6 it fails:
This is the user agent:
mozilla/5.0 (windows; u; windows nt 5.2; en-us; rv:1.9.2.16) gecko/20110319 firefox/3.6.16|5.0 (Windows; en-US)|Win32
Thanks,
Simon
Re: Firefox 10 detected as mobile device
Posted: Sun Feb 26, 2012 2:43 pm
by sm_support2
simons wrote:I downloaded and change the jar file with the 1.3.6 and it works for Firefox 10 but for earlier version like 3.6 it fails:
This is the user agent:
mozilla/5.0 (windows; u; windows nt 5.2; en-us; rv:1.9.2.16) gecko/20110319 firefox/3.6.16|5.0 (Windows; en-US)|Win32
Thanks,
Simon
Simon,
something is wrong with the UA string you posted. The capitalization is wrong. The bits between pipes are introduced by some program that modifies the UA string before they get to the WURFL API. I tried this and it seems to work OK
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-us; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
Re: Firefox 10 detected as mobile device
Posted: Mon Feb 27, 2012 3:42 am
by simons
Hi,
Thanks for pointing that, I checked the js that collect the UA in my site and someone manipulate it and change it to lower case (please don't ask why)