Search docs/
Getting StartedPlugins


Get unique identifiers: UUID, IMEI, IMSI, ICCID and MAC.

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!


ionic cordova plugin add cordova-plugin-uidnpm install @ionic-native/uidnpm install cordova-plugin-uidnpm install @ionic-native/uidionic cap sync
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android


Using React?

See here.

import { Uid } from '@ionic-native/uid/ngx';
import { AndroidPermissions } from '@ionic-native/android-permissions/ngx';

constructor(private uid: Uid, private androidPermissions: AndroidPermissions) { }

async getImei() {
 const { hasPermission } = await this.androidPermissions.checkPermission(

 if (!hasPermission) {
   const result = await this.androidPermissions.requestPermission(

   if (!result.hasPermission) {
     throw new Error('Permissions required');

   // ok, a user gave us permission, we can get him identifiers after restart app

  return this.uid.IMEI