ionic-native
Version:
Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support
23 lines (22 loc) • 584 B
TypeScript
/**
* @name UniqueDeviceID
* @description
* This plugin produces a unique, cross-install, app-specific device id.
*
* @usage
* ```
* import { UniqueDeviceID } from 'ionic-native';
*
* UniqueDeviceID.get()
* .then((uuid: any) => console.log(uuid))
* .catch((error: any) => console.log(error));
*
* ```
*/
export declare class UniqueDeviceID {
/**
* Gets a unique, cross-install, app-specific device id.
* @return {Promise<string>} Returns a promise that resolves when something happens
*/
static get(): Promise<string>;
}