Page 1 of 1
Inconsistency with WURFL API
Posted: Tue Apr 18, 2017 5:51 am
by kvn.pavan
For the user agent
Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8537.25 ,
device.getVirtualCapability("is_robot") is returning true. However, when I see, device.getVirtualCapabilities() map and check for value of is_robot, its coming false.
Need help with this inconsistency. WURFL version used is 1.8.4.0
Re: Inconsistency with WURFL API
Posted: Tue Apr 18, 2017 10:34 am
by aaronp
Hi Pavan,
The OnSite API doesn't have any sort of cache on our end. However, this issue will be addressed in the upcoming bug fix release v1.8.4.1, as well as our next weekly WURFL.xml snapshot.
Thanks,
Aaron
Re: Inconsistency with WURFL API
Posted: Thu Apr 20, 2017 2:55 am
by kvn.pavan
Hi,
With 1.8.4.1, if I use "Mozilla/5.0 (iPhone;CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25", its giving device.getVirtualCapability("is_robot") as false. If I use "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25", its giving true. The difference is just a space (" ") between iPhone; and CPU word in the user agent.. So its still inconsistent
Re: Inconsistency with WURFL API
Posted: Thu Apr 20, 2017 10:51 am
by aaronp
Hi Pavan,
Thank you for letting us know. To clarify from my previous response to this question (via
support@scientiamobile.com), we have updated our database to correct the issue with the is_robot capability for the provided UA. This change will be reflected in
next week's WURFL.xml update.
Thanks,
Aaron
Re: Inconsistency with WURFL API
Posted: Wed Apr 26, 2017 12:19 am
by kvn.pavan
Seems like the xml update resolved the issue
Re: Inconsistency with WURFL API
Posted: Wed Apr 26, 2017 8:00 am
by aaronp
Hi Pavan,
That's good to hear. Feel free to reach out to us here or at
support@scientiamobile.com if you have any further questions or concerns.
Thanks,
Aaron