Cross device utility for browser
bower install device-utils --save
- Added the parent class iphone-x for models iPhone 12, 12 Pro, 12 Pro Max
- Standalone detect improved
This version is required in order to properly recognize iPads with the new cordova platform ad iOS >= 13.
- Added support to cordova-plugin-device to become compatible with
cordova-ios
>= 6
- Check the iPhone/iPad/iPod into the user agent, not only on navigator.platform
- Added new method to identify iPhones with a notch
isIphoneWithNotch
with one single method.
- Added the parent class iphone-x for models iPhone XS, XR, XS Max
- Bugfix for detect iPhone XS, XR, XS Max
- Added the "iphone-xs" class if it is an iPhone XS
- Added the "iphone-xs-max" class if it is an iPhone XS Max
- Added the "iphone-xr" class if it is an iPhone XR
- Added method for check device is high performance
- Added the "iphone-x" class if it is an iPhone X
- Add a new method "isIos"
- Add a new method "isIphoneX"
- Add a new method "isTouchDevice"
- Add param
force
for exclude cache
- New support to fullscreen mode. Device adds class
fullScreen
to thehtml
tag. In addition it adds browser specific class likemozFullScreen
,webkitFullScreen
,msfullscreenchange
.