FLUTTER ECOSYSTEM

Maksimka101/app_install_date

앱 설치 날짜를 얻는 데 도움이 되는 플러터 플러그인

app_install_date 프로젝트 이미지
Stars
5
Forks
7
최근 푸시(UTC)
2024. 12. 23.
프로젝트 상태
활성
Zemlianikin Max GitHub avatar
GITHUB User

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

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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