version_tracker
로컬 버전 및 빌드 트래커 플러그인입니다. 이전 설치를 추적하고 업그레이드 간에 데이터를 쉽게 마이그레이션할 수 있는 기능을 제공합니다.
Flutter용 Xamarin.Essentials VersionTracking
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Local version and build tracker plugin. Provides the ability to keep track of previous installations and easily migrate data between upgrades.
Call this on the main function
var vt = VersionTracker();
await vt.track();
You can also set the max number for version and build history by giving a value to buildHistoryMaxLength and versionHistoryMaxLength in the track function.
var vt = VersionTracker();
await vt.track(buildHistoryMaxLength: 10, versionHistoryMaxLength: 10);
Then call these whenever you want (in these examples the user has launched a bunch of previous versions, and this is the first time he's launched the new version 1.0.11):
vt.isFirstLaunchEver; // false
vt.isFirstLaunchForVersion; // true
vt.isFirstLaunchForBuild; // true
vt.currentVersion; // 1.0.11
vt.previousVersion; // 1.0.10
vt.firstInstalledVersion; // 1.0.0
vt.versionHistory; // [ 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.10, 1.0.11 ]
vt.currentBuild; // 18
vt.previousBuild; // 15
vt.firstInstalledBuild; // 1
vt.buildHistory; // [ 1, 2, 3, 4, 5, 8, 9, 10, 11, 13, 15, 18 ]
의존성 목록 5 개
{"sdk":"flutter"}^2.5.3^9.0.0{"sdk":"flutter"}^6.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗