npm react-native-device-info 14.0.0
v14.0.0

6 hours ago

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 getDeviceId 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 getDeviceId 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 getDeviceId AND
  • you did not specify either of:
    • firebaseBomVersion
    • firebaseIidVersion
      ...in your build.gradle file ext block for versions

the previous implementation of getUniqueId 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 getDeviceId to work

Don't miss a new react-native-device-info release

NewReleases is sending notifications on new releases.