diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c280bca7..bef9fcda2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Add android only `getAPILevel` method (https://github.com/rebeccahughes/react-native-device-info/pull/232) - Add Android support for serial number, IP, and MAC address (https://github.com/rebeccahughes/react-native-device-info/pull/150) - Add tvOS support (https://github.com/rebeccahughes/react-native-device-info/pull/235) +- Add flow types [Diff](https://github.com/rebeccahughes/react-native-device-info/compare/1aafc6f0b20d7cd6f0939ea5370e9899e4914c93...master) diff --git a/deviceinfo.d.ts b/deviceinfo.d.ts index 698ce1434..d070ee8b4 100644 --- a/deviceinfo.d.ts +++ b/deviceinfo.d.ts @@ -23,3 +23,6 @@ export function isTablet(): 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; +export function getMACAddress(): Promise;