I have some elements I want to show only if the page is viewed via browser (desktop or mobile browser), but not if viewed from within the app as installed via app store/google play.
From the docs: https://ionicframework.com/docs/api/platform/Platform/
I assumed I could use:
this.platform.is('core') || this.platform.is('mobileweb')
This works fine for desktop browsers, however on chrome and the default android browser it acts just like the app - the detected platforms are identical as [‘cordova’, ‘android’, ‘mobile’]
I understand the app itself is a browser, but I was under the impression ‘mobileweb’ would be the difference and it’s not. Any way to properly determine if I’m in a native browser or in the app?