Skip to content
pubscout

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.

$ flutter pub add app_install_date
Source repository

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.

Works with

Packages commonly used together with app_install_date: ones it builds on, ones built on it, and its own family.