Releases: react-native-device-info/react-native-device-info
v14.0.4
v14.0.3
v14.0.2
v14.0.1
v14.0.0
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
v13.1.0
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