Skip to content

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

v14.0.4

03 Feb 21:10
Compare
Choose a tag to compare

14.0.4 (2025-02-03)

Bug Fixes

  • android: quiet a build warning for users (07017cb)

v14.0.3

03 Feb 20:07
Compare
Choose a tag to compare

14.0.3 (2025-02-03)

Bug Fixes

  • android: restore compatibility for Android <= 23 (75ea74e)

v14.0.2

17 Dec 21:56
Compare
Choose a tag to compare

14.0.2 (2024-12-17)

Bug Fixes

v14.0.1

23 Nov 02:52
Compare
Choose a tag to compare

14.0.1 (2024-11-23)

Bug Fixes

  • windows: Update RNDeviceInfoCPP.h for windows on ARM CPU arch on windows (#1679) (b2c7c4f)

v14.0.0

26 Oct 01:54
Compare
Choose a tag to compare

14.0.0 (2024-10-26)

  • fix(android)!: remove AD_ID permission by removing auto-addition of play-services-iid (#1673) (5009115), closes #1673

BREAKING CHANGES

  • removed default fallback getInstanceId via play-services-iid dependency

This dependency has the unfortunate side effect of including AD_ID permission, which is
not permissible for many types of applications.

If you relied on this functionality in getInstanceId you will need to define googlePlayServicesIidVersion in your
android gradle build files ext version block. We previously used version 17.0.0 but there may be
newer versions you could use if they work for

You will know you relied on this functionality even if you did not know it if:

  • you used getInstanceId AND
  • you did not specify either of:
    • firebaseBomVersion
    • firebaseIidVersion
      ...in your build.gradle file ext block for versions

the previous implementation of getInstanceId would automatically add play-services-iid and use that if you did not specify anything else so things would work for you

Now you must manually add one of the three dependencies for getInstanceId to work

v13.2.0

25 Oct 02:32
Compare
Choose a tag to compare

13.2.0 (2024-10-25)

Features

v13.1.0

11 Oct 00:22
Compare
Choose a tag to compare

13.1.0 (2024-10-11)

Features

  • ios: implement all free disk storage types for ios 11+ (#1664) (99dc37c)

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)