Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by fugufish

any way of using ig.ua.android to detect android versions? ( 2.2, 2.3, 4.0.x etc)

1 decade ago by StuartTresadern

You should be able to detect the version for the userAgent String, just add a little extra code to the core impact userAgenet detection code.

Something like this (not tested)

var ua = navigator.userAgent; // for ref as impact already does this
var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8)); 
Page 1 of 1
« first « previous next › last »