UNPKG

nativescript-uuid-v2

Version:

A NativeScript plugin that allows you to get a UUID (Universal Unique Identifier) for a device - fixing nativescript/core call.

8 lines (5 loc) 148 B
var device = require("@nativescript/core/platform").device; function getUUID() { return device ? device.uuid : ""; } exports.getUUID = getUUID;