Platform.is('mobileweb) not working


#1

Hi,
I have run the web app on Browser platform an used the localhost ip to run the app in the mobile browser on the smartphone but it does not detect platform.is('mobileweb) it always gives me false.

Any ideas on how to detect if the web app is running on mobile browser on a tablet ore on a smartphone?


#2

You can use device native plugin. I guess you can check with this.device.platform == “browser”.