Hey,
Is there a way to detect what device type is running my app?
I’m familiar with the isIOS() and isAndroid() functions but I would like to be more specific to modify my CSS according to the device, i.e iPhone4s/iPhone5/iPhone6 Plus.
http://ngcordova.com/docs/plugins/device/
$cordovaDevice.getModel();
1 Like
Couldn’t be much more easier
I’ll give it a try and update, thanks!
Just a quick verification - the ios simulator will return a string like “x64_86”, no matter what device I’m picking (iPhone 4/5/6)?