This is tagged as @next
on npmjs so you may try it by using that tag.
Please refer to the CHANGELOG for all breaking change annotations to migrate.
https://github.com/react-native-community/react-native-device-info/blob/v3/CHANGELOG.md
- fix: use ios vs macos as condition for APIs 02bb2ee