app_install_date

Last updated:

0 purchases

app_install_date Image
app_install_date Images
Add to Cart

Description:

app install date

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';
}
copied to clipboard
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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.