- Improves version compatibility for dependencies.
- Updated dependencies.
- Improvements to the repository and documentation.
- Added
VersionDetailsas a typed wrapper for app package metadata. - Added
PlatformDetail.versionDetails()to getappName,packageName,versionandbuildNumber. - Exported
VersionDetailsfrom the public API. - Updated example app to render app details on screen.
- Added tests for
versionDetails()success, fallback, and partial-failure flows.
- Added
EnvironmentDetailsas a typed wrapper for runtime environment metadata. - Added
PlatformDetail.environmentDetails()to get compact platform, model, locale, andPlatformTypedata. - Exported
EnvironmentDetailsfrom the public API. - Updated example app to render the new environment details on screen.
- Added tests for
environmentDetails()success and fallback flows.
- Updated device_info_plus and dio dependencies.
- Fixed tests.
- Added mocked capabilities with
PlatformDetail.forTesting(). - Added
getPublicIpandgetPrivateIpmethods. @carloscgm. - Reorganized files hiding internal classes.
- Increased coverage on tests with mocked capabilities.
- BREAKING CHANGE:
currentPlatformno longer returns aTargetPlatform. It now returns a new custom enum:PlatformType, which includeswebsupport.
- Maximized Dart SDK versions support (>=2.15).
- Fixed: The platform on which the website was running was detected by checking the web operating system.
- Improved documentation.
- Added coverage.
- Example project created.
- Fixed linting issue.
- Added
deviceInfo()method. - Some minor improvements.
- BREAKING CHANGE:
deviceInfo()has been renamed bydeviceInfoDetails(). - Updated dependencies.
- Documentation improved.
- Added Testing.
- Code refactoring.
- Updated Readme.
- Updated dependencies.
- Added if the mobile's device is a simulator.
- Updated dependencies.
- Renamed
productNamebydeviceInfo(). - Updated documentation.
- Added
productName. - Updated documentation.
- Upgraded documentation.
- Renamed
typebycurrentGroupPlatform - Added currentPlatform to get an enumeration indicating the current operating system on which it is running.
- Upgraded documentation.
- Updated dependencies.
- Renamed PlatformDetails by PlatformDetail
- Added
isDarkModeproperty to detect the kind of theme is dark. - Added
isLightModeproperty to detect the kind of theme is light. - Added
DeviceThemeenum. - Added theme property to detector the kind of theme (light - dark).
- Upgraded dependencies.
- Updated to Dart 3.
- Fix an issue when type parameter was accessed.
- Fix some minor issues.
- Improved readme.
- Added
PlatformGroupenum. - Added a static property to get the PlatformGroup into PlatformDetail class.
- Added PlatformGroup into Readme.
- Some minor improvement.
- Readme improved.
- Factory constructor removed, now everything are static variables.
- isWeb bug fixed.
- isDesktopOrWeb optimized.
- Access to the PlatformDetail class is done singleton by a factory constructor.
- Added
isDesktopread property. - Added
isMobileread property. - Added
isWebread property. - Added
isDesktopOrWebread property. - Added
isIOSread property. - Added
isAndroidread property. - Added
isFuchsiaread property. - Added
isWindowsread property. - Added
isLinuxread property. - Added
isMacOSread property.