sonata

Get(Device) - Android tablet vs phone

Discussion created by sonata on Mar 29, 2017
Latest reply on Mar 29, 2017 by sonata

Get(Device) returns 5 if Android, but does not differentiate between phone or tablet, as is done for iOS.

 

The workaround, also testing for screen resolution or width, may fail in certain instances, I think. Like, high res phone or low res tablet.

 

Best: return 5 for Android tablet and 6 for Android phone. (Or, vice versa... if need be.)

 

Thank you!

 

Jim Schliestett

Outcomes