/mobile-device-js

Detect mobile's device model using javascript

Primary LanguageJavaScript

Usage

Only one file (device.js) need to be included.

Example: https://joyqi.github.io/mobile-device-js/example.html

MobileDevice.getGlRenderer()

Returns GPU Model Name (eg: Apple A8 GPU).

MobileDevice.getModels()

Returns device models list (eg: ["iPad Air 2", "iPad Mini 4"]).

TODO

  1. Android Devices :)