Search packages, repositories and app categories

GitHub repositoryMaksimka101/app_install_date

app_install_date

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

app_install_date project cover
Stars
5
Forks
7
Last push (UTC)
Dec 23, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub 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

Zemlianikin Max GitHub avatar
GitHub author

Zemlianikin Max ↗

Flutter/Full-Stack developer
LanguagesC++CMakeDartRubySwiftKotlinHTMLCObjective-C

Packages published by this repository

Dependencies used

Dependency list 5 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗