I am using WURFL service to detect devices using user agent. I have got one weird user agent as follow:
Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/13.10586
WURFL service detects this device as xbox and returns os as android which is invalid. I searched for xbox user agents. None of them contain Android.
Is above mentioned user agent invalid?
Is it not xbox, someone has just customized to look like xbox? I am confused.
Also, what is the best way/regex to check if a user agent is of xbox?
Any help is appreciated. Thank you in advance.