Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Platform service doesn't return 'tablet' consistently

$
0
0

@ercarignan wrote:

I'm running a Google Pixel C tablet and using the Ionic platform service to get the array of platforms. When the device is in landscape mode, it will return
'mobile, android, tablet, mobileweb'

but in portrait mode it only returns
'mobile, android, mobileweb' -- no tablet.

One caveat, my ionic app is currently hosted at another location and I'm accessing it directly via the Chrome browser (as evidenced by the mobileweb flag), so maybe this has something to do with it, but I would have thought that the orientation would not change the platforms values.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>