Skip to content

Releases: react-native-device-info/react-native-device-info

v13.0.0

12 Sep 16:45
Compare
Choose a tag to compare

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

12 Sep 16:32
Compare
Choose a tag to compare

12.1.0 (2024-09-12)

Bug Fixes

  • ios: isDisplayZoomed on iPhone 12/13 mini (12fd354), closes #1581 #1581
  • RNInstallReferrerClient to use background threads for network operations to prevent ANR (2afb771)

Features

  • ios: add iPhone 16 device names / add missing iPad device names (#1657) (1c85272)

v12.0.1

12 Sep 15:15
Compare
Choose a tag to compare

12.0.1 (2024-09-12)

Bug Fixes

  • android: add invalidate, use it from onCatalystInstanceDestroy (610714b)

v12.0.0

12 Sep 14:47
Compare
Choose a tag to compare

12.0.0 (2024-09-12)

Bug Fixes

  • ios: Make unique id, unique per device and not per ios account(keychain) (#1642) (8198f22)

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

15 May 20:28
Compare
Choose a tag to compare

11.1.0 (2024-05-15)

Features

  • android: detect MEmu emulator in isEmulator (ac172f6)

v11.0.0

15 May 19:43
Compare
Choose a tag to compare

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+

v10.14.0

15 May 18:28
Compare
Choose a tag to compare

10.14.0 (2024-05-15)

Features

  • Add isWiredHeadphonesConnected and IsBluetoothHeadphonesConnected (#1623) (fe66322)

v10.13.2

21 Apr 14:54
Compare
Choose a tag to compare

10.13.2 (2024-04-21)

Bug Fixes

v10.13.1

26 Feb 18:52
Compare
Choose a tag to compare

10.13.1 (2024-02-26)

Bug Fixes

  • ios: fix missing visionOS symbol compile error in xcode < 15 (#1615) (fd30902)

v10.13.0

23 Feb 15:55
Compare
Choose a tag to compare

10.13.0 (2024-02-23)

Features