device_info_app 1.0.1
device_info_app: ^1.0.1 copied to clipboard
A comprehensive Flutter plugin for retrieving detailed device and application information across Android and iOS platforms.
1.0.1 #
🚀 New Features & Improvements #
✨ RAM Information Support
- Device RAM Details: Get comprehensive RAM information including total memory, available memory, and memory usage statistics
- Memory Monitoring: Real-time memory usage tracking for better app performance optimization
- Cross-Platform RAM Data: Consistent RAM information across Android and iOS platforms
📱 Enhanced Device Information
- Added
totalRam- Total device RAM in bytes - Added
availableRam- Currently available RAM in bytes - Added
usedRam- Currently used RAM in bytes - Added
ramUsagePercentage- RAM usage as percentage (0-100) - Added
ramInfo- Detailed RAM information object
🔧 API Updates
- Enhanced
getDeviceInfo()method now returns RAM information - Updated
DeviceInfomodel with new RAM properties - Improved error handling for memory-related operations
🐛 Bug Fixes
- Fixed potential null pointer exceptions in device info retrieval
- Improved memory allocation handling in native implementations
- Enhanced error messages for better debugging
1.0.0 #
🎉 Initial Release #
Device Info App - A comprehensive Flutter plugin for retrieving detailed device and application information across Android and iOS platforms.
✨ Features
- Device Information: Get comprehensive device details including model, brand, platform version
- App Information: Retrieve application-specific data like version, build number, bundle identifier
- Localization Support: Access device locale and timezone information
- Cross-Platform: Full support for both Android and iOS
- Type-Safe: Strongly typed Dart models for all returned data
- Null Safety: Full null safety support for robust error handling
📱 Supported Platforms
- ✅ Android (API 21+)
- ✅ iOS (iOS 11.0+)
🔧 API Methods
getDeviceInfo()- Returns comprehensive device and app information- Returns
DeviceInfomodel with the following properties:versionNumber- App version numberbuildNumber- App build numberdisplayName- App display namebundleName- App bundle identifieruuid- Device unique identifierlocales- Device locale informationtimeZone- Device timezonealphaCode- Country alpha codelocaleApp- Detailed locale information (language and country codes)
🚀 Getting Started
import 'package:device_info_app/device_info_app.dart';
final deviceInfoApp = DeviceInfoApp();
final deviceInfo = await deviceInfoApp.getDeviceInfo();
print('App Version: ${deviceInfo.versionNumber}');
print('Device Model: ${deviceInfo.displayName}');
print('Platform: ${deviceInfo.locales}');
🏗️ Architecture
- Platform Interface Pattern: Clean separation between Flutter and native code
- Method Channel Communication: Efficient cross-platform communication
- Modular Design: Easy to extend and maintain
- Error Handling: Comprehensive error handling with fallback values
📦 Dependencies
- Flutter SDK: ^3.3.0
- Dart SDK: ^3.9.2
- plugin_platform_interface: ^2.0.2
0.0.1 #
- Initial development version