搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫Maksimka101/app_install_date

app_install_date

一個幫助取得應用程式安裝日期的 Flutter 外掛

app_install_date 專案封面
星標
5
分支
7
最近推送(UTC)
2024年12月23日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

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 作者

Zemlianikin Max ↗

Flutter/Full-Stack developer
語言C++CMakeDartRubySwiftKotlinHTMLCObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 5 項

  • flutter{"sdk":"flutter"}
  • path_provider^2.0.13
  • flutter_lints開發依賴>=2.0.1 <6.0.0
  • flutter_test開發依賴{"sdk":"flutter"}
  • lints開發依賴>=1.0.1 <6.0.0

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

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

GitHub Docs — About repositories ↗