Not detecting this properly

Can you add this device?
chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Not detecting this properly

Postby chum63 » Sat Nov 16, 2013 5:20 am

This might be someone hacking, but wanted to check as getting a header coming through: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0

That is all and the cloud picks this up as "is_mobile" so my service lets it through. Cloud bring back a browser of Fennec...

Any ideas or confirmation whether this is and issue?

Cheers, Chris.

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Not detecting this properly

Postby sriram » Mon Nov 18, 2013 11:28 am

Hey Chris,

That looks like a UA generated by Firefox on Android. So it is indeed a mobile device.

Cheers!
Sriram Sridharan

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Tue Nov 19, 2013 2:11 pm

OK - but why do you bring back the device as firefox fro android, browser as Fennec etc.... What ever it is you cant identify the device and browser correctly???

I am using your cloud service

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Tue Nov 19, 2013 2:17 pm

I seem to have had about 20 of these detected all over the UK since Nov 1, so assume it is some device that is not know rather than hacking:-)

Any ideas - let me know if you need anything else from me.

Cheers Chris.

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Not detecting this properly

Postby sriram » Tue Nov 19, 2013 2:25 pm

Hi Chris,

As you can see in the User-Agent you posted, it reveals neither any information about the hardware it is running on nor any information about the version of the Android OS it is running. This is why we only detect those UAs as "Firefox for Android".

Firefox on Android was originally called Fennec, since Fennec was and is Mozilla's code name for Firefox on mobile devices. Hence the value "Fennec" for the "mobile_browser" capability. Please note that you can use the new "advertised_browser" and "advertised_browser_version" virtual capabilities, where you'll not only see the browser name as "Firefox Mobile" but also see the actual browser version.

I hope this helps.

Cheers!
Sriram Sridharan

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Tue Nov 19, 2013 2:51 pm

More of interest than anything is this a firefox thing or a device issue - in terms of not including the device ??

Thank anyway - I can see your hands are tied with what you have to work with.

Cheers, Chris.

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Not detecting this properly

Postby sriram » Tue Nov 19, 2013 3:07 pm

Hi Chris,

It is a Firefox on Android specific issue and is a result of a decision made by Mozilla to hide this information.

Cheers!
Sriram Sridharan

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Wed Dec 18, 2013 8:34 am

Hello - I am now a licensed user of the local WURFL, which is great, but I cant seem to pick up the advertised_browser:

$requestingDevice->getCapability('advertised_browser');

As I was restricting my capabilities and now taken off so all is available do I have to do something to rebuild the cache? I am using 1.5 and latest wurfl.zip...

Cheers, Chris.

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Wed Dec 18, 2013 8:46 am

OK - so I found another post and cleared these down:

examples/resources/storage/cache
examples/resources/storage/persistence

But still not finding the virtual services advertised_browser etc...

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Not detecting this properly

Postby sriram » Wed Dec 18, 2013 9:16 am

Hi Chris,

Virtual capabilities are retrieved by "getVirtualCapability" and not via "getCapability". Here's the documentation for that method in the WURFL PHP API.

Cheers!
Sriram Sridharan

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Wed Dec 18, 2013 9:36 am

Thanks so much - works a treat!

Cheers, Chris.

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Not detecting this properly

Postby sriram » Wed Dec 18, 2013 9:55 am

Awesome! Thank you for using WURFL. Now that you are a licensed customer, you should also be able to access our enterprise support system. This system will link your account information to your question so that our support personnel have access to all the relevant information to answer your question quickly and efficiently.

Thanks and cheers!
Sriram Sridharan

chum63
Posts: 33
Joined: Mon Oct 07, 2013 5:22 am

Re: Not detecting this properly

Postby chum63 » Wed Dec 18, 2013 10:09 am

Hi Siram - thanks for the info - and I will do that.


Who is online

Users browsing this forum: No registered users and 15 guests