Get available memory

61 views
Skip to first unread message

jerry hamby

unread,
May 5, 2020, 3:48:58 PM5/5/20
to Flutter Development (flutter-dev)

I'm trying to find a way to get the available memory at different times in my app. I have looked a the system_info package but it states that it's not tested on both IOS and Android. Having a solid method is important for both. One developer wrote: "Unfortunately system_info doesn't support iOS but it works for MacOs"


Is there something better or more reliable for IOS and Android?

jerry hamby

unread,
Jun 15, 2020, 2:52:19 PM6/15/20
to Flutter Development (flutter-dev)
Really need to get some feedback on this issue. Package "system_info" works for some Android simulators, but not all. Definitely not on IOS apps.

Is there any way to get programmatically data on available memory, for both IOS and Android? 
Packages, extensions ???

FYI, I have been able to retrieve "imageCache" data, but that only gets me half way to my goal.

Pol Cristobal Paredes

unread,
Jun 15, 2020, 7:57:27 PM6/15/20
to Flutter Development (flutter-dev)
haber no se si puedo apoyarte con esta respuesta, cuando mencionas obtener datos mediante programacion, intentastes usar api con postman, ya que este te retorna data de la base de datos. llegastes intentar ese punto o no da para app hibrida??

Me comentas, asi para seguir retroalimentandonos

jerry hamby

unread,
Jun 16, 2020, 2:02:53 PM6/16/20
to Flutter Development (flutter-dev)

Don't know if you are understanding my issue. Maybe this will help?

Every users device has some level of available memory, from very low to very high. My worst case user can have up to 50,000 items. This many items (data and images) wouldn't fit on most devices. So I have to find some form of pagination to make their experience as painless as possible.


Getting the available memory from a device, helps me formulate a pagination-type plan. Programmatically just means I want to create the pagination-type plan internally within my Flutter app, not outside the app.

Reply all
Reply to author
Forward
0 new messages