Page 1 of 1

IS_MOBILE and IS_WIRELESS_DEVICE

Posted: Mon Feb 17, 2014 12:42 pm
by unicorn
Hello,

We are testing WURFL for NGINX, all works well but we got an issue with understanding what does the capability IS_MOBILE mean. It's always showing us "default", on any device or PC. "The description tells, that This is just an ALIAS for is_wireless_device. There's no control capability associated to this virtual capability. "

What's the difference between is_mobile and is_wireless_device and also, what's the best way to recognize mobile phone (not tablet)?

Thanks
Dmitry

Re: IS_MOBILE and IS_WIRELESS_DEVICE

Posted: Mon Feb 17, 2014 4:15 pm
by Elliotfehr
Dmitry,

Currently the "is_mobile" virtual capability is an alias for "is_wireless_device", so at the moment there is not a difference between the two. To answer your question, looking for any device that returns true for "is_wireless" and false for "is_tablet" would be the best way to isolate only mobile phones.

Thank you,

Elliot

Re: IS_MOBILE and IS_WIRELESS_DEVICE

Posted: Tue Feb 18, 2014 6:53 am
by unicorn
Elliott, thanks for answer.
But what does the reply "default" in "is_mobile" means?

Re: IS_MOBILE and IS_WIRELESS_DEVICE

Posted: Tue Feb 18, 2014 11:38 am
by Elliotfehr
Dmitry,

This is a small bug with your version of the API as it should return "true" or "false". This has been addressed and fixed with API 1.5.1, which will be released shortly.

Thank you,

Elliot

Re: IS_MOBILE and IS_WIRELESS_DEVICE

Posted: Tue Feb 18, 2014 12:48 pm
by Elliotfehr
Dmitry,

We will be sending you a release candidate for 1.5.1 shortly. Feel free to let us know if the issue persists or if you have any issues upgrading to the new version.

Thank you,

Elliot