- Fixed Android build error introduced in 0.22.1 (react-native-device-info#460)
- Fix deprecated code on Android in the following methods (react-native-device-info#426)
- getDeviceCountry
- getDeviceLocale
- Add support for
getIpAddress
andgetMacAddress
on iOS (https://github.com/rebeccahughes/react-native-device-info/commit/41735bd0b2efe1f626afc066604f27073acb9d4c)
- Rolled back the Pod change made in 0.21.1
- Move back the podspec file to the root directory (react-native-device-info#376)
- Moved the IOS code to an ios/ directory (react-native-device-info#374)
- Fix getBatteryLevel() for tvOS (always return 1) (react-native-device-info#363)
- Remove deprecated React pod dependency (react-native-device-info#361)
- Add more gradle configuration properties
compileSdkVersion
,buildToolsVersion
,targetSdkVersion
(react-native-device-info#343)
- Made the following methods compatible with UWP: (react-native-device-info#345)
getBatteryLevel()
getFirstIntallTime()
getIPAddress()
getMaxMemory()
isPinOrFingerprintSet()
- Add
getInstallReferrer
(react-native-device-info#344)
- Add
getBatteryLevel
(react-native-device-info#359)
- Fix
getMACAddress
for Android > 6 (react-native-device-info#349)
- Fix production build crash on Android introduced in #313
- Enhance
isTablet()
for android by checking display density (react-native-device-info#313) - Changed iOS target deployment from 9.0 to 8.0 for broader device support (react-native-device-info#19)
- Fix bad import for web polyfill
- Add an empty polyfill for
react-native-web
users (react-native-device-info#339)
- Add the
googlePlayServicesVersion
Gradle build config that allows you to set the Play Services version from the root-project (react-native-device-info#333)
- Fix crash on iOS: prevent insertion of nil values in the dictionary (react-native-device-info#328)
- Fix crash on
getFreeDiskStorage
andgetTotalDiskCapacity
from invalid filesystem path (react-native-device-info#320)
- Fix Android compatibility for
getFreeDiskStorage
andgetTotalDiskCapacity
(react-native-device-info#319)
- Add
getFontScale
(react-native-device-info#278) - Add
getFreeDiskStorage
andgetTotalDiskCapacity
(react-native-device-info#302) - Fix missing flow definition for
getApplicationName
- 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".