Skip to content

Jay-Dabo/nativescript-device-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NativeScript UUID

This is a plugin for Nativescript that allows you to get a UUID (Universal Unique Identifier) for a device.

Uses SAMKeychain Cocoa Pod.

Installation

Run the following command from the root of your project:

yarn add nativescript-device-uuid
ns plugin add nativescript-device-uuid
npm install nativescript-device-uuid

Usage

JavaScript

  const nsUuid = require("nativescript-device-uuid");

  const uuid = nsUuid.getUUID();
  console.log(`The device UUID is ${uuid}`);

TypeScript

  import { getUUID } from 'nativescript-device-uuid';

  const uuid = getUUID();
  console.log(`The device UUID is ${uuid}`);

About

Device UUID/UDID checker for Nativescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published