Edge Browser Detection on Mobile

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
medicom
Posts: 13
Joined: Wed Dec 23, 2015 6:34 am

Edge Browser Detection on Mobile

Postby medicom » Fri Jan 12, 2018 4:13 am

Hello,

Currently, WurflCloud 1.9.2.0 returns advertised_browser capability "Edge" for the next User-Agent:

Code: Select all

Mozilla/5.0 (Linux; Android 6.0.1; SM-T555 Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.145 Mobile Safari/537.36 EdgA/41.0.0.1136
But we expect something like "Edge Mobile", just like for Chrome browser, WurflCloud returns "Chrome Mobile" for User-Agent:

Code: Select all

Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19
So that, it is impossible to check which version of Edge browser is running by advertised_browser capability: Mobile or Desktop.

Please advise

amark
Posts: 33
Joined: Mon May 30, 2016 4:59 am

Re: Edge Browser Detection on Mobile

Postby amark » Fri Jan 12, 2018 9:51 am

Hi Medicom,

The reason Chrome on Android is detected as "Chrome Mobile" is because Google advertises the browser as "Chrome for Mobile." However Microsoft has chosen to advertise their browser as Edge across all platforms. If you would like to differentiate Edge browsers on mobile devices from desktop browsers you can use the is_mobile capability. Let me know if this solution works for you and if you have any other questions I will be happy to help.

https://www.google.com/chrome/browser/mobile/index.html

Best,

Amar
Mobile Data Analyst
ScientiaMobile

medicom
Posts: 13
Joined: Wed Dec 23, 2015 6:34 am

Re: Edge Browser Detection on Mobile

Postby medicom » Wed Jan 17, 2018 1:23 pm

Hi Amar, thanks for the suggested capability, we have checked and it looks like exactly what we need.

amark
Posts: 33
Joined: Mon May 30, 2016 4:59 am

Re: Edge Browser Detection on Mobile

Postby amark » Wed Jan 17, 2018 1:24 pm

Glad I could help. Feel free to reach out to us again if you have any other questions.

Amar


Who is online

Users browsing this forum: No registered users and 1 guest