react-native-vitals
react-native-vitals copied to clipboard
This module doesn't work, save your time (RN 61.4)
Just trying to save anyone else the time who stumbles across this, just dropped it into a RN 61.4 project, all the functions returned were some garbage.
Instead head over to react-native-device-info and use their memory functions. Optionally run the results through pretty-bytes and you have a few stats on memory usage.
Hmm, device info doesn't have memory.systemFree, so would really love this module to be updated...
@jehartzog react-native-device-info
is a wonderful library, but in terms of memory usage / availability, it only provides getUsedMemory()
that returns
the app memory usage, in bytes
👋 current maintainer of react-native-device-info here. If you want more information on memory you could always propose PRs
That said, I'm also a developer interested in these stats, and maybe there's another package that does it well. Any pointers to other packages also appreciated