anpec 1.0.0 copy "anpec: ^1.0.0" to clipboard
anpec: ^1.0.0 copied to clipboard

PlatformAndroid

A Flutter plugin for Android device performance classification.

Changelog #

1.0.0 #

  • Initial release of the Android device performance classification plugin.
  • Android-only support.
  • Classifies devices into Unknown, Low, Average, or High performance categories based on CPU, memory, Android version, and media performance class (Android 12+).
  • Provides type-safe enum-based API and direct enum comparison for easy UI integration.
  • Exposes PerformanceClass enum from the main library.
  • Uses platform channels for native Android functionality and accurate system property access.
  • Async API for device info and performance class retrieval.
  • Caching for improved performance.
  • Optimized memory detection using ActivityManager.MemoryInfo().totalMem.
  • Cleaned up debug logging and simplified code structure.
  • Comprehensive device information gathering.
  • Updated documentation and usage examples for async API and enum-based patterns.
0
likes
160
points
22
downloads

Publisher

verified publisheraryak.dev

Weekly Downloads

A Flutter plugin for Android device performance classification.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on anpec

Packages that implement anpec