- Add
getFreeDiskStorage
andgetTotalDiskCapacity
(react-native-device-info#302)
- Fix tvOS support (react-native-device-info#283)
- Introduced
getApplicationName
to see the name of the app both on ios, android and win - Added
getTotalMemory
andgetMaxMemory
(react-native-device-info#289) - Fix iOS undefined native module error (react-native-device-info#276)
- Fix crash on
getUserAgent
when Webview is not installed (react-native-device-info#273)
- Add
getCarrier
(react-native-device-info#261) - Disable
isPinOrFingerprintSet
for tvOS (react-native-device-info#270) - Add
is24Hour
(react-native-device-info#265) - Remove unused windows dependency (react-native-device-info#263)
- Add missing typescript definitions (react-native-device-info#254)
- Make play-services optional (react-native-device-info#226)
- Critical fix on WIFI STATE (react-native-device-info#249)
- Get real WebView UserAgent on Android (react-native-device-info#207)
- Add DeviceUID.h to public headers (react-native-device-info#217)
- Add
getPhoneNumber
(react-native-device-info#174) - Fix typescript definitions (react-native-device-info#221)
- Add
getFirstInstallTime
andgetLastUpdateTime
(react-native-device-info#222) - Added version check and permission to work with Android API >= 16 (react-native-device-info#225)
- Added device detection even when in an iOS emulator (react-native-device-info#224)
- Add support for new iPhone, iPad, and Apple TV models (react-native-device-info#230)
- Add android only
getAPILevel
method (react-native-device-info#232) - Add Android support for serial number, IP, and MAC address (react-native-device-info#150)
- Add tvOS support (react-native-device-info#235)
- Add flow types
- Fix getCurrentActivity() null crash in Android (react-native-device-info#247)
- Add support for RN > 0.47
- Update typescript definitions
- Add typescript definitions
- Add
isPinOrFingerprintSet
method - Add support for RN > 0.40
- Semver fix
Several bugfixes and detecting if device is a tablet
adds support for Brand information e.g. apple, htc, etc
adds support for the iPhone SE and new iPad Pro
adds support for device country and changes the iOS device name to match Apple branding
don't use destructuring
removes the default bluetooth permission
change deployment target to iOS 8
removes unnecessary peerDependencies
tweaks how device locale works on Android. If it's available it will use the toLanguageTag that is more inline with iOS. (See #14)
adds two new parameters, Device Locale and User Agent.
adds a new parameter; Device Id. On iOS this is the hardware string for the current device (e.g. "iPhone7,2"). On Android we use the BOARD field which is the name of the underlying board, e.g. "goldfish". The way that the module gets the device model on iOS has also changed to be based on the Device Id; now instead of getting a generic product family e.g. "iPhone", it will return the specific model e.g. "iPhone 6".