In our project we are storing all the information of the device in the claim store using context engine. It is working fine for all the mobile devices, But for IPhone it is only returning the device model not the version.
To fulfill the requirement we have decided to check the PPI of the device or the height and width of the device to ensure the version of IPhone.
The issue we are now facing - it is behaving properly when we are hitting the site from chrome browser only.
Is there any dependency of discover-min.js on the browser ?
Below are the result set for IPhone 4
Chrome:
taf:claim:context:device:model --> IPhone
taf:claim:context:device:pixelDensity --> 326
taf:claim:context:device:displayWidth --> 320
taf:claim:context:device:displayHeight --> 480
Safari:
taf:claim:context:device:model --> IPhone
taf:claim:context:device:pixelDensity --> 217
taf:claim:context:device:displayWidth --> 750
taf:claim:context:device:displayHeight --> 1334
Please suggest..