yarn react-native-device-info 6.0.0
v6.0.0 - react-native-windows vNext / Android disk capacity API changes

latest releases: 10.13.1, 10.13.0, 10.12.1...
3 years ago

6.0.0

BREAKING CHANGE(android, storage):

ReplacegetTotalDiskCapacity and getFreeDiskStorage implementations, original implementations are getTotalDiskCapacityOld and getFreeDiskStorageOld. New implementation adds Root and Data file systems. Old implementations are deprecated, they use deprecated Android APIs, and they will disappear in a future version. This should be a positive change as the resulting calculation should match Android settings storage calculation, but the old API is there if you need it, and you can open an issue to discuss if necessary. (#1054, thanks @gabriel-franzoni-pier!)

BREAKING CHANGE(windows, vNext):

The windows support has been ported from C# (react-native-windows <= 0.59) to C++ (react-native-windows >= 0.59). This drops support for react-native-windows lower than 0.59. The port was developed and tested against react-native-windows 0.62.5. (#1059, thanks @tero-paananen!). The getTotalMemory APIs were dropped in the process (it appears react-native-windows vNext does not support them)


  • fix(android, storage)!: move old storage capacity APIs to old f617863

  • feat(android, storage): new android capacity calculations (#1054) 29bb0ae

  • feat(windows, vNext)!: Windows vNext (#1059) 8fc205b

  • docs(CHANGELOG): prepare for 6.0.0 release cefd55f

  • fix(example, android): exclude flipper okhttp transitive dep 69c9e2d

  • fix(README): fix getInstanceId() link in troubleshooting (#1063) 04d4256

  • fix(android, manifest): protect install referrer receiver w/INSTALL_PACKAGES perm (#1065) ac4ff63

  • docs(CONTRIBUTING): update testing information ee58be6

v5.6.5...v6.0.0

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

NewReleases is sending notifications on new releases.