Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jehartzog opened this issue Jan 24, 2020 · 3 comments
Open

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

jehartzog opened this issue Jan 24, 2020 · 3 comments

Comments

@jehartzog
Copy link

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.

@noway
Copy link

noway commented Apr 15, 2020

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

@alessandroraffa
Copy link

@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

@mikehardy
Copy link

👋 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants