목차

Device

설명

전역 API

var phoneName = window.device.name;
var phoneName = device.name;

제약사항

Android

device.name
device.version

iOS

device.name
device.platform

환경 설정

Android

<plugin name="Device" value="org.apache.cordova.Device" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

iOS

N/A

속성

device.name

var string = device.name;

device.phonegap

var name = device.cordova;

device.platform

var string = device.platform;

device.uuid

var string = device.uuid;

device.version

var string = device.version;

참고 자료