I need to get User Agent through PHP, but using the iPhone X on Safari is being reported as *(It's works):
"Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
But if I use the Chrome instead, then I get *(It doesn't work):
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Version/8.0.7 Safari/537.36"
All other Devices behave correctly and report the respective Device. The error only happens on iPhone X using the Chrome.
Any idea?