Closed rainerjungwirth closed 3 years ago
@rainerjungwirth Please add the useragent.
@mimmi20 This is the useragent when browsing in edge
Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 EdgiOS/42.5.3 Mobile/16A366 Safari/605.1.15
Came here to submit an almost exact issue. The new version of Chromium-based Edge for desktop suffers from the same thing, because the new user agent on desktop features the substring Edg
instead of Edge
, and therefore also gets reported as Safari.
Explained here: https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-string
The mobile versions of Edge are alse referenced there, where it says:
The Edg token is also consistent with existing tokens used on iOS and Android.
@rainerjungwirth I fixed the collision between Safari and Edge on iOS. Fix available in https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.36
The Edge Browser (42.5.3) under iOS 12 is detected as Safari when using
$detect = new Mobile_Detect; $detect->is('Safari');