device_capability 0.1.2 copy "device_capability: ^0.1.2" to clipboard
device_capability: ^0.1.2 copied to clipboard

Detect device performance capabilities and get optimization recommendations. Initialize once, use throughout your app session.

0.1.2 #

  • Added Swift Package Manager support for iOS

0.1.1 #

  • Code formatting improvements
  • Updated .gitignore

0.1.0 #

Initial Release

Features #

  • Device capability detection with one-time initialization
  • Performance scoring system (0-100 scale)
  • Tier classification (low, medium, high, ultra)
  • Memory tier detection based on RAM capacity
  • Storage tier detection based on available space
  • Thermal monitoring for temperature state tracking
  • Smart helper methods for UX optimization decisions
  • Cross-platform support for iOS and Android
  • Configurable thresholds and scoring weights
  • Full test coverage
  • Example application demonstrating all features
  • Complete documentation and usage guides

Platform Support #

  • Android: Minimum SDK 21 (Android 5.0+)
  • iOS: Minimum iOS 12.0+

Collected Metrics #

  • CPU core count
  • Total and used RAM
  • Total and free storage
  • Thermal state
  • Low power mode status
  • Battery level and charging state
  • Screen resolution and density
  • Processor frequency (where available)
  • Device model identifier
  • SDK/OS version

Known Limitations #

  • Web platform not yet supported
  • GPU performance estimation not included
  • Network capability detection not available
7
likes
160
points
47
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Detect device performance capabilities and get optimization recommendations. Initialize once, use throughout your app session.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter

More

Packages that depend on device_capability

Packages that implement device_capability