Samsung Browser identified as Google Chrome Mobile

We have noticed that Sentry reports back that when errors occur on units that use the Samsung Internet app, it is reported as Google Chrome in Sentry.io.

This is quite a bit misleading, and the only way to check which browser it really is, is to check the JSON feed for the issue and find the User Agent string there.

Example of user agent string from my Galaxy S5’s Samsung browser:

Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G900F Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.4 Chrome/56.0.2924.87 Mobile Safari/537.36