Socket
Socket
Sign inDemoInstall

cordova-unique-device-id

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-unique-device-id

Cordova unique device id (UUID) plugin for Android, iOS and Windows Phone 8. Remains the same after app uninstall.


Version published
Weekly downloads
311
decreased by-28.67%
Maintainers
1
Install size
26.6 kB
Created
Weekly downloads
 

Readme

Source

cordova-unique-device-id

Cordova unique device id (UUID) plugin for Android, iOS and Windows Phone 8. Remains the same after app uninstall.

Note This is a copy of UniqueDeviceID that includes a fix from @rustico-david to resolve the Android Permission "Allow to make and manage phone calls" bug.

Renamed and republished to NPM as cordova-unique-device-id

Installation

cordova plugin add cordova-unique-device-id

or the following for the latest

cordova plugin add https://github.com/john-doherty/cordova-unique-device-id.git

Supported Platforms

  • Android
  • iOS
  • Windows Phone 8

Usage

// check the plugin is installed
if (window.plugins && window.plugins.uniqueDeviceID) {

    // request UUID
    plugins.uniqueDeviceID(function(uuid) {
        // got it!
        console.log(uuid);
    },
    function(err) {
        // something went wrong
        console.warn(err);
    });
}

Keywords

FAQs

Last updated on 25 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc