app_install_date 0.1.1 copy "app_install_date: ^0.1.1" to clipboard
app_install_date: ^0.1.1 copied to clipboard

outdated

This plugin helps you to get install date of the application

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

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

20
likes
0
pub points
90%
popularity

Publisher

unverified uploader

This plugin helps you to get install date of the application

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on app_install_date