nielsbasjes / yauaa

Yet Another UserAgent Analyzer
https://yauaa.basjes.nl
Apache License 2.0
754 stars 128 forks source link

Edge for Android #63

Closed nielsbasjes closed 6 years ago

nielsbasjes commented 6 years ago

https://blogs.windows.com/msedgedev/2017/10/05/microsoft-edge-ios-android-developer/

Microsoft Edge for iOS user agent string Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_2 like Mac OS X) AppleWebKit/603.2.4 (KHTML, like Gecko) Mobile/14F89 Safari/603.2.4 EdgiOS/41.1.35.1

Microsoft Edge for Android user agent string Mozilla/5.0 (Linux; Android 8.0; Pixel XL Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.0 Mobile Safari/537.36 EdgA/41.1.35.1


- test:
    input:
      user_agent_string: 'Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F27M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.145 Mobile Safari/537.36 EdgA/41.0.0.1136'
    expected:
      DeviceClass  : 'Phone'
      DeviceName  : 'Google Nexus 6'
      DeviceBrand  : 'Google'
      OperatingSystemClass  : 'Mobile'
      OperatingSystemName  : 'Android'
      OperatingSystemVersion  : '7.1.1'
      OperatingSystemNameVersion  : 'Android 7.1.1'
      OperatingSystemVersionBuild  : 'N6F27M'
      LayoutEngineClass  : 'Browser'
      LayoutEngineName  : 'Blink'
      LayoutEngineVersion  : '58.0'
      LayoutEngineVersionMajor  : '58'
      LayoutEngineNameVersion  : 'Blink 58.0'
      LayoutEngineNameVersionMajor  : 'Blink 58'
      AgentClass  : 'Browser'
      AgentName  : 'Chrome'
      AgentVersion  : '58.0.3029.145'
      AgentVersionMajor  : '58'
      AgentNameVersion  : 'Chrome 58.0.3029.145'
      AgentNameVersionMajor  : 'Chrome 58'
nielsbasjes commented 6 years ago

Fixed in 3.1