Search packages, repositories and app categories

Package detailsv0.1.5

app_install_date

This plugin helps you to get install date of the application

AndroidiOSmacOS
30-day downloads
7.8K
Likes
24
Pub points
140

Install package

flutter pub add app_install_date

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The app_install_date package allows developers to retrieve the installation date of the application on a user's device. It provides a simple API to access when the app was first installed, which can be useful for analytics, licensing, or user engagement tracking. Compatible with Android, iOS, and macOS, it leverages platform-specific methods to ensure accurate results across all supported platforms. The plugin is lightweight and integrates seamlessly into Flutter projects via pub.dev.

Use cases

  • Tracking user onboarding timelines
  • Implementing trial period logic
  • Analyzing app retention rates
  • Monitoring license validity
  • Personalizing user experience based on install age

Key features

  • Cross-platform support (Android, iOS, macOS)
  • Simple and consistent API
  • Accurate installation timestamp retrieval
  • Lightweight and easy to integrate
  • No additional permissions required

Suitable for

  • Apps needing user installation history
  • Trial-based or subscription apps
  • Analytics and retention tools
  • Developer tools for app lifecycle management
  • User behavior analysis

Considerations

  • Installation date may not be available on all devices
  • Relies on system-level data that could vary by OS version
  • Not suitable for precise time-of-install tracking in edge cases
  • May require testing on multiple devices for consistency
  • Does not update if app is reinstalled

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

A flutter plugin that helps to get date of the app installation

[!NOTE] This plugin most likely works but is not actively maintained. If you face any issues, please create a pull request

How to use:

late String installDate;
// Platform messages may fail, so we use a try/catch 
try {
    final DateTime date = await AppInstallDate().installDate;
    installDate = date.toString();
} catch (e, st) {
    installDate = 'Failed to load install date';
}

How it works

Android

On android it is using the PackageManager to get install date from the package info

IOS and MacOS

On these platforms it is using application document directory's creation date. This method is also used in native development

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package