react-native-vitals icon indicating copy to clipboard operation
react-native-vitals copied to clipboard

This module doesn't work, save your time (RN 61.4)

Open jehartzog opened this issue 5 years ago • 3 comments

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.

jehartzog avatar Jan 24 '20 19:01 jehartzog

Hmm, device info doesn't have memory.systemFree, so would really love this module to be updated...

noway avatar Apr 15 '20 08:04 noway

@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

alessandroraffa avatar Feb 09 '21 02:02 alessandroraffa

👋 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

mikehardy avatar May 02 '22 16:05 mikehardy