wurfl 1.8 java api PlayStation not detected in accuracy mode

Posts: 1
Joined: Wed Sep 07, 2016 5:01 am

wurfl 1.8 java api PlayStation not detected in accuracy mode

Postby amarkey » Wed Sep 07, 2016 5:10 am

Hi All,

I'm trying to update wurfl to 1.8 but some of my tests fail. I noticed a regression in detecting PlayStation consoles in java onsite accuracy mode.
At least for the following UA:
Mozilla/5.0 (PlayStation 4 3.50) AppleWebKit/537.78 (KHTML, like Gecko)
Mozilla/5.0 (PlayStation 4 3.55) AppleWebKit/537.78 (KHTML, like Gecko)
engine always returns generic device whereas in 1.7.0 which I was using till now it returns a specific device.

Code: Select all

        GeneralWURFLEngine wurflEngine = new GeneralWURFLEngine("/Users/pi/Downloads/wurfl4.xml");
//        String userAgent = "Mozilla/5.0 (PlayStation 4 3.50) AppleWebKit/537.78 (KHTML, like Gecko)";
        String userAgent = "Mozilla/5.0 (PlayStation 4 3.55) AppleWebKit/537.78 (KHTML, like Gecko)";
        Device device = wurflEngine.getDeviceForRequest(userAgent);

I've been using recent xml too:

Code: Select all

pi@mac:~/Downloads$ head -5 wurfl4.xml
<?xml version="1.0" encoding="UTF-8"?>
    <ver>data.scientiamobile.com - 2016-08-28 00:30:34</ver>
    <last_updated>2016-08-28 00:30:34 -0400</last_updated>
Is there anything I can do about it with Or does it need xml/lib update?

Piotr Kowalski

Posts: 39
Joined: Mon May 30, 2016 4:59 am

Re: wurfl 1.8 java api PlayStation not detected in accuracy

Postby amark » Wed Sep 07, 2016 3:17 pm

Hi Piotr,

Thank you for bringing this to our attention. The latest release of our API reduces false-positives identified in prior releases. Unfortunately with this change in logic PlayStation 4 detection has been affected. We are currently looking into this issue but for now the UAs have been added into WURFL and will be included in the next weekly snapshot which will improve detection for PlayStation 4.



Who is online

Users browsing this forum: No registered users and 1 guest