memory_info_platform_interface 0.1.0
memory_info_platform_interface: ^0.1.0 copied to clipboard
A common platform interface for memory_info.
0.1.0 #
- Adds
Memory.appAvailableMem(iOS): memory the app can still allocate before reaching its limit. - Adds
Memory.lowMemoryThreshold,Memory.advertisedMem,Memory.javaHeapUsedMem,Memory.javaHeapMaxMem(Android). Memory.lowMemoryis now also provided on iOS (true when available memory is below 25% of the app memory limit).- Adds
MemoryInfoPlatform.onMemoryPressurestream withMemoryPressureEventandMemoryPressureLevel. DiskSpace.usedSpacereturns null when free or total space is unknown.- Method channel uses
invokeMapMethod, a null platform reply no longer throws. - Adds
toStringto models and documents units (megabytes). - Adds unit tests.
0.0.2 #
- Update dependencies
0.0.1 #
- Initial release