Can anyone tell me how to use Sentry with an Ionic 3 application that is served on mobile devices as well as in the browser? Do I install the Sentry cordova-plugin AND the @sentry/browser package? Do I need to do anything in my app to switch between the two or is there an automatic fall-over to @sentry/browser if the app is not running on a device?
I have just tried creating a new Ionic 3 app and I added both packages. When I create a test event the error was logged in Sentry but - even though I was running the app in my Mac Chrome browser using ionic serve - Sentry logged the event as being in Android Mobile Chrome with a device of Nexus 5. Anyone know why that is?