Releases: react-native-device-info/react-native-device-info
Releases · react-native-device-info/react-native-device-info
v13.0.0
13.0.0 (2024-09-12)
- fix(android)!: powerStateDidChange event returns powerState object not batteryState (#1655) (2d91018), closes #1655
BREAKING CHANGES
- android powerStateDidChange now matches iOS with full powerState object not batteryState
The batteryState object is inside the powerState object, so if this is important to you, the change on android is now
to go one-level deeper to get the batteryState
v12.1.0
v12.0.1
v12.0.0
12.0.0 (2024-09-12)
Bug Fixes
BREAKING CHANGES
- ios: iOS getUniqueId is now per-device similar to android, not per-user
If you relied on the previous per-user behavior on iOS the recommended path forward is
to use https://github.com/oblador/react-native-keychain with WHEN_UNLOCKED
https://github.com/oblador/react-native-keychain?tab=readme-ov-file#keychainaccessible-enum
and store your id as a key/value pair of your key and the id mapped into the username/password
API of react-native-keychain
Co-authored-by: Humaid Arif Khan humaid@Humaidk-MBP.lan
v11.1.0
v11.0.0
11.0.0 (2024-05-15)
- fix(android)!: removed getPhoneNumber - use react-native-sim-cards-manager (#1617) (dce8bd5), closes #1617
- feat(android)!: targetSdk 34 receiver export specification, requires compileSdk 33+ (#1621) (b32cde7), closes #1621
BREAKING CHANGES
- removed getPhoneNumber to avoid Google Play Store rejections,
use react-native-sim-cards-manager for similar functionality as desired - requires compileSdk 33+