Page 1 of 1

Not detecting this properly

Posted: Sat Nov 16, 2013 5:20 am
by chum63
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.

Re: Not detecting this properly

Posted: Mon Nov 18, 2013 11:28 am
by sriram
Hey Chris,

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

Cheers!

Re: Not detecting this properly

Posted: Tue Nov 19, 2013 2:11 pm
by chum63
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

Re: Not detecting this properly

Posted: Tue Nov 19, 2013 2:17 pm
by chum63
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.

Re: Not detecting this properly

Posted: Tue Nov 19, 2013 2:25 pm
by sriram
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!

Re: Not detecting this properly

Posted: Tue Nov 19, 2013 2:51 pm
by chum63
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.

Re: Not detecting this properly

Posted: Tue Nov 19, 2013 3:07 pm
by sriram
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!

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 8:34 am
by chum63
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.

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 8:46 am
by chum63
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...

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 9:16 am
by sriram
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!

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 9:36 am
by chum63
Thanks so much - works a treat!

Cheers, Chris.

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 9:55 am
by sriram
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!

Re: Not detecting this properly

Posted: Wed Dec 18, 2013 10:09 am
by chum63
Hi Siram - thanks for the info - and I will do that.