Only one file (device.js) need to be included.
Example: https://joyqi.github.io/mobile-device-js/example.html
Returns GPU Model Name (eg: Apple A8 GPU).
Returns device models list (eg: ["iPad Air 2", "iPad Mini 4"]).
Detect device model.
MobileDevice.is('iPhone')
MobileDevice.is('iPhone 6s')
- Android Devices :)