uap-core
uap-core copied to clipboard
Instagram apps not detected correctly
Hello
Instagram on Android sends this UA:
Mozilla/5.0 (Linux; Android 7.1.2; Pixel XL Build/NJH47F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Mobile Safari/537.36 Instagram 11.0.0.12.20 Android (25/7.1.2; 476dpi; 1440x2417; Google/google; Pixel XL; marlin; marlin; en_GB)
It's detected as Chrome Mobile.
On iPhone, it sends this UA:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60 Instagram 10.26.0 (iPhone8,1; iOS 10_3_3; en_GB; en-GB; scale=2.00; gamut=normal; 750x1334)
It's detected as Mobile Safari UI/WKWebView.
Can both be (more) correctly detected as Instagram?
Thanks
PR #262 should fix this issue