device_info_sdk 1.0.1 copy "device_info_sdk: ^1.0.1" to clipboard
device_info_sdk: ^1.0.1 copied to clipboard

A comprehensive Flutter SDK for retrieving detailed device information including hardware specs, battery status, display metrics, and platform-specific data on Android and iOS.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.1 - 2025-11-06 #

๐Ÿ› Bug Fixes #

  • Battery Information Handling: Fixed exception when battery information is unavailable (e.g., iOS simulators, emulators)
    • getDeviceInfo() now gracefully handles unavailable battery info by setting battery field to null instead of throwing
    • Added comprehensive documentation about battery availability limitations
    • Updated example app to display helpful message when battery info is unavailable

๐Ÿ“ Documentation #

  • Added "Important Notes" section in README explaining battery behavior on simulators/emulators
  • Updated API documentation for getDeviceInfo() and getBatteryInfo() methods
  • Improved code examples showing recommended patterns for handling battery data

โœจ Improvements #

  • Example app now shows user-friendly message instead of hiding battery card when info is unavailable
  • Better error messages and developer experience on simulators

1.0.0 - 2025-09-26 #

๐ŸŽ‰ First Stable Release #

โœจ Features Added

  • Complete Device Information: Comprehensive device data including model, manufacturer, brand, OS version
  • Advanced Battery Monitoring: Real-time battery status with health, temperature, and voltage (Android)
  • Display Metrics: Detailed screen information including resolution, density, and DPI
  • Platform-Specific Data: Rich Android and iOS system information
  • JSON Serialization: Full data export/import with type safety
  • Real-time Streams: Live battery status updates
  • Cross-Platform Support: Works seamlessly on Android and iOS

๐Ÿ”ง Technical Implementation

  • Android Support: Complete implementation matching Android device data template
  • iOS Support: Full iOS device information matching iOS data template
  • Type Safety: Null-safe Dart implementation with comprehensive models
  • Testing: 7/7 unit tests passing with full coverage
  • Documentation: Comprehensive API documentation and usage examples

๐Ÿ“ฆ Package Structure

  • Production-ready Flutter package
  • Compatible with Flutter 3.0.0+
  • Supports Android API 16+ and iOS 12.0+
  • Published to pub.dev with proper metadata

๐Ÿงช Quality Assurance

  • All unit tests passing
  • Clean code analysis
  • Comprehensive documentation
  • Example applications included
  • Performance optimized

๐Ÿš€ Ready for Production

  • Stable API
  • Comprehensive error handling
  • Memory efficient
  • Well-documented
  • Actively maintained

0.0.2 - 2024-09-26 #

Added #

  • iOS platform-specific data format matching user template
  • Enhanced iOS device information structure
  • Improved cross-platform data consistency
  • Updated examples with both Android and iOS data formats

Enhanced #

  • iOS platformSpecific data now includes: name, systemName, systemVersion, model, localizedModel, identifierForVendor, isPhysicalDevice, and detailed utsname information
  • Demo examples now show both Android and iOS data structures
  • README updated with complete iOS device data example

0.0.1 - 2024-09-26 #

Added #

  • Initial release of Device Info SDK
  • Basic device information retrieval for Android and iOS
  • Battery status monitoring
  • Device model, manufacturer, and OS version detection
  • JSON serialization support
  • Display metrics support
  • Platform-specific data structures
  • Real-time battery streaming
  • Comprehensive unit tests
0
likes
150
points
36
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter SDK for retrieving detailed device information including hardware specs, battery status, display metrics, and platform-specific data on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#device-info #hardware #battery #android #ios

License

MIT (license)

Dependencies

battery_plus, connectivity_plus, device_info_plus, flutter, package_info_plus

More

Packages that depend on device_info_sdk