app_install_date
0.1.5, released 2 years ago by an unverified publisher
A Flutter plugin to get the installation date of the application.
What it does
Provides the install date of the application as a DateTime object. On Android, it queries the PackageManager, while on iOS and macOS, it uses the application document directory's creation date.
AI-written summary of version 0.1.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to know when the app was installed on the user's device
- You want a simple integration for Android, iOS, and macOS install dates
Skip it when
- You require an actively maintained plugin, as this is currently unmaintained
- You need support for platforms other than Android, iOS, and macOS
Strengths
- Simple and straightforward API
- Supports multiple platforms (Android, iOS, macOS)
Weaknesses
- Not actively maintained
- iOS and macOS implementation relies on document directory creation date rather than system install metadata
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
late String installDate;
try {
final DateTime date = await AppInstallDate().installDate;
installDate = date.toString();
} catch (e, st) {
installDate = 'Failed to load install date';
}Alternatives
Packages that do the same job and could replace app_install_date.
- flutter_install_app_plugin
Installs iOS or Android apps from within a Flutter app.
50Compare - r_upgrade
Upgrade and install applications on Android and iOS.
48Compare - platform_device_id
Get unique device IDs across Android, iOS, Windows, Linux, macOS, and Web.
50Compare
Works with
Packages commonly used together with app_install_date: ones it builds on, ones built on it, and its own family.