app_install_date
इस प्लगइन की सहायता से आप एप्लिकेशन की स्थापना तिथि प्राप्त कर सकते हैं
एप्लिकेशन स्थापना की तारीख प्राप्त करने में मदद करने वाला फ्लटर प्लगइन
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A flutter plugin that helps to get date of the app installation
[!NOTE] This plugin
most likelyworks 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';
}
On android it is using the PackageManager to get install date from the package info
On these platforms it is using application document directory's creation date. This method is also used in native development
निर्भरता सूची 5 आइटम
{"sdk":"flutter"}^2.0.13>=2.0.1 <6.0.0{"sdk":"flutter"}>=1.0.1 <6.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗