[OutSystems UI] Edge Browser not correctly detected
Forge component by OutSystems R&D
Application Type
Mobile

Device Detection: GetBrowser

On iOS, the Edge Browser is detected as Safari.

This seems to be a bug that needs to be fixed. The issue may be that Edge has moved to the Chromium underlying platform.

Hi Hubert,


What does this javascript code returns in this case?

window.navigator.userAgent.toLowerCase()

Hi Maxime, this is what is returned:

mozilla/5.0 (iphone; cpu iphone os 14_6 like mac os x) applewebkit/605.1.15 (khtml, like gecko) version/14.0 edgios/46.3.23 mobile/15e148 safari/605.1.15

In that case, as a workaround you should be able to use a javascript function with switch as defined in this post: https://stackoverflow.com/questions/56360225/how-to-detect-microsoft-chromium-edge-chredge-edgium-in-javascript


I guess Outsystems guys should be able to fix the component with the information you added :)

Thanks Maxime, I will have a go with the Java script. 

Hello Hubert.
We are currently working on improving and updating this validations so thank you for reporting.
This should be out in two releases, by the release cycle scheduled.

Best Regards,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.