Firefox 10 detected as mobile device

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
express
Posts: 3
Joined: Tue Feb 07, 2012 4:52 pm

Firefox 10 detected as mobile device

Postby express » Wed Feb 15, 2012 5:48 pm

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

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Firefox 10 detected as mobile device

Postby kamermans » Wed Feb 15, 2012 6:59 pm

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?
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Re: Firefox 10 detected as mobile device

Postby sm_support2 » Wed Feb 15, 2012 10:04 pm

Are you using the web patch? if yes, which version?

Thanks

logiboy
Posts: 4
Joined: Thu Feb 16, 2012 3:17 am

Re: Firefox 10 detected as mobile device

Postby logiboy » Thu Feb 16, 2012 3:21 am

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

express
Posts: 3
Joined: Tue Feb 07, 2012 4:52 pm

Re: Firefox 10 detected as mobile device

Postby express » Thu Feb 16, 2012 4:36 am

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.

logiboy
Posts: 4
Joined: Thu Feb 16, 2012 3:17 am

Re: Firefox 10 detected as mobile device

Postby logiboy » Thu Feb 16, 2012 4:49 am

I'm also having last version of browser patch

luca.passani
Posts: 65
Joined: Thu May 19, 2011 2:49 pm

Re: Firefox 10 detected as mobile device

Postby luca.passani » Thu Feb 16, 2012 8:15 am

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

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Re: Firefox 10 detected as mobile device

Postby sm_support2 » Thu Feb 16, 2012 4:26 pm

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

express
Posts: 3
Joined: Tue Feb 07, 2012 4:52 pm

Re: Firefox 10 detected as mobile device

Postby express » Thu Feb 16, 2012 7:44 pm

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?

simons
Posts: 3
Joined: Sun Feb 26, 2012 10:08 am

Re: Firefox 10 detected as mobile device

Postby simons » Sun Feb 26, 2012 10:12 am

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

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Re: Firefox 10 detected as mobile device

Postby sm_support2 » Sun Feb 26, 2012 2:43 pm

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

simons
Posts: 3
Joined: Sun Feb 26, 2012 10:08 am

Re: Firefox 10 detected as mobile device

Postby simons » Mon Feb 27, 2012 3:42 am

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)


Who is online

Users browsing this forum: No registered users and 23 guests