add osversion detection for mobile