🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-native-device-uuid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-device-uuid - npm Package Compare versions

Comparing version

to
1.2.0

9

DeviceUUID.ios.js
'use strict';
var RCTDeviceUUID = require('NativeModules').DeviceUUID;
var invariant = require('invariant');
var DeviceUUID = require('react-native').NativeModules.DeviceUUID;

@@ -10,6 +9,6 @@ /**

var DeviceUUID = {
module.exports = {
getUUID() {
return new Promise((resolve, reject) => {
RCTDeviceUUID.getUUID((error, uuid) => {
DeviceUUID.getUUID((error, uuid) => {
if (error) {

@@ -25,3 +24,1 @@ console.log("Got error when trying to get uuid from Native side");

};
module.exports = DeviceUUID;
{
"name": "react-native-device-uuid",
"version": "1.1.2",
"version": "1.2.0",
"description": "Get the device UUID for iOS device",

@@ -5,0 +5,0 @@ "repository": {