fix(uuid): add correct plugin source

fix: #2324
This commit is contained in:
Daniel 2018-04-06 22:34:06 +02:00
parent 859cbfcfc6
commit a81a4d3edf

View File

@ -40,30 +40,23 @@ import { Plugin, CordovaProperty, IonicNativePlugin } from '@ionic-native/core';
pluginName: 'Uid', pluginName: 'Uid',
plugin: 'cordova-plugin-uid', plugin: 'cordova-plugin-uid',
pluginRef: 'cordova.plugins.uid', pluginRef: 'cordova.plugins.uid',
repo: 'https://github.com/hygieiasoft/cordova-plugin-uid', repo: 'https://github.com/lionelhe/cordova-plugin-uid',
platforms: ['Android'] platforms: ['Android']
}) })
@Injectable() @Injectable()
export class Uid extends IonicNativePlugin { export class Uid extends IonicNativePlugin {
/** Get the device Universally Unique Identifier (UUID). */ /** Get the device Universally Unique Identifier (UUID). */
@CordovaProperty @CordovaProperty UUID: string;
UUID: string;
/** Get the device International Mobile Station Equipment Identity (IMEI). */ /** Get the device International Mobile Station Equipment Identity (IMEI). */
@CordovaProperty @CordovaProperty IMEI: string;
IMEI: string;
/** Get the device International mobile Subscriber Identity (IMSI). */ /** Get the device International mobile Subscriber Identity (IMSI). */
@CordovaProperty @CordovaProperty IMSI: string;
IMSI: string;
/** Get the sim Integrated Circuit Card Identifier (ICCID). */ /** Get the sim Integrated Circuit Card Identifier (ICCID). */
@CordovaProperty @CordovaProperty ICCID: string;
ICCID: string;
/** Get the Media Access Control address (MAC). */ /** Get the Media Access Control address (MAC). */
@CordovaProperty @CordovaProperty MAC: string;
MAC: string;
} }