react-native-device-info
Advanced tools
Comparing version 0.10.2 to 0.11.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65796
106
198