Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-device-info

Package Overview
Dependencies
Maintainers
4
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.10.2 to 0.11.0

47

deviceinfo.d.ts

@@ -1,20 +0,27 @@

export function getUniqueID(): string;
export function getManufacturer(): string;
export function getBrand(): string;
export function getModel(): string;
export function getDeviceId(): string;
export function getSystemName(): string;
export function getSystemVersion(): string;
export function getBundleId(): string;
export function getBuildNumber(): number;
export function getVersion(): string;
export function getReadableVersion(): string;
export function getDeviceName(): string;
export function getUserAgent(): string;
export function getDeviceLocale(): string;
export function getDeviceCountry(): string;
export function getTimezone(): string;
export function getInstanceID(): string;
export function isEmulator(): boolean;
export function isTablet(): boolean;
export function isPinOrFingerprintSet(cb: (isSet: boolean) => void): void;
// should be imported this way:
// import DeviceInfo from 'react-native-device-info';
declare class DeviceInfo {
public static getUniqueID(): string;
public static getManufacturer(): string;
public static getBrand(): string;
public static getModel(): string;
public static getDeviceId(): string;
public static getSystemName(): string;
public static getSystemVersion(): string;
public static getBundleId(): string;
public static getBuildNumber(): string;
public static getVersion(): string;
public static getReadableVersion(): string;
public static getDeviceName(): string;
public static getUserAgent(): string;
public static getDeviceLocale(): string;
public static getDeviceCountry(): string;
public static getTimezone(): string;
public static getInstanceID(): string;
public static isEmulator(): boolean;
public static isTablet(): boolean;
public static isPinOrFingerprintSet(cb: (isSet: boolean) => void): void;
}
export default DeviceInfo;
{
"name": "react-native-device-info",
"version": "0.10.2",
"version": "0.11.0",
"description": "Get device information using react-native",

@@ -22,3 +22,8 @@ "main": "deviceinfo.js",

"author": "Rebecca Hughes <rebecca@learnium.net> (https://github.com/rebeccahughes)",
"contributors": [{
"name": "Gant Laborde",
"email": "gant@infinite.red",
"url": "https://github.com/gantman"
}],
"license": "MIT"
}

@@ -13,2 +13,4 @@ # react-native-device-info

#### RN > 0.47 use 0.11 or higher
## Automatically link

@@ -169,3 +171,3 @@

| Device Manufacturer | `getManufacturer()` | Apple | |
| Device Brand | `getBrand()` | Apple / htc / Xiaomi | |
| Device Brand | `getBrand()` | Apple / htc / Xiaomi | |
| Device Model | `getModel()` | iPhone 6 | |

@@ -172,0 +174,0 @@ | Device ID | `getDeviceId()` | iPhone7,2 | Or the board on Android e.g. goldfish |

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc