https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: f2f2beb7c46bfb178cc2a4ebf40762ffb2a72e7a authored by Mehdi Achour on 29 July 2018, 09:16:57 UTC
v0.22.2
Tip revision: f2f2beb
deviceinfo.d.ts
// should be imported this way:
// import * as DeviceInfo from 'react-native-device-info';

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 getApplicationName(): string;
export function getBuildNumber(): string;
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 getInstallReferrer(): string;
export function isEmulator(): boolean;
export function isTablet(): boolean;
export function getFontScale(): number;
export function is24Hour(): boolean;
export function isPinOrFingerprintSet(): (
  cb: (isPinOrFingerprintSet: boolean) => void
) => void;
export function getFirstInstallTime(): number;
export function getLastUpdateTime(): number;
export function getSerialNumber(): string;
export function getIPAddress(): Promise<string>;
export function getMACAddress(): Promise<string>;
export function getPhoneNumber(): string;
export function getAPILevel(): number;
export function getCarrier(): string;
export function getTotalMemory(): number;
export function getMaxMemory(): number;
export function getTotalDiskCapacity(): number;
export function getFreeDiskStorage(): number;
export function getBatteryLevel(): Promise<number>;
back to top