nativescript-uuid
A NativeScript plugin that allows you to get a UUID (Universal Unique Identifier) for a device.
npm i --save nativescript-uuid
- Version: 0.0.1
- GitHub: https://github.com/gdtdpt/nativescript-uuid
- NPM: https://www.npmjs.com/package/nativescript-uuid
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript UUID
This is a plugin for Nativescript that allows you to get a UUID (Universal Unique Identifier) for a device.
Inspired from [StackOverflow: How to preserve identifierForVendor in ios after uninstalling ios app on device?
] (http://stackoverflow.com/questions/21878560/how-to-preserve-identifierforvendor-in-ios-after-uninstalling-ios-app-on-device).
Uses SSKeychain Cocoa Pod
.
Installation
tns plugin add nativescript-uuid
Usage
var plugin = require("nativescript-uuid");
var uuid = plugin.getUUID();
console.log("The device UUID is " + uuid);