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

套件詳情v0.3.2

flutter_app_version_checker

一個輕量級的 Flutter 插件,用於檢查您的應用程式在 Google Play 商店或 Apple App Store 上是否為最新版本

AndroidiOS
近 30 天下載
164
喜歡數
58
Pub 分數
140

安裝套件

flutter pub add flutter_app_version_checker

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個輕量級的 Flutter 插件,用於檢查您的應用程式目前版本是否在 Google Play 商店或 Apple App Store 上為最新。它會從相應的應用商店取得最新版本資訊,並與已安裝的版本進行比較,幫助使用者保持更新。此插件易於整合,支援 Android 與 iOS 平台。適用於需要及時更新以維持功能或安全性之應用程式。

適用情境

  • 啟動時檢查應用更新
  • 提示使用者在有新版本可用時進行更新
  • 確保使用者處於最新穩定版本
  • 在企業環境中監控應用版本合規性
  • 自動將使用者重定向到應用商店以進行更新

主要特色

  • 即時版本比較
  • 同時支援 Android 和 iOS
  • 所需設定最少
  • 無額外依賴
  • 提供更新狀態的回調

適合對象

  • 需要頻繁更新的應用
  • 企業移動應用
  • 安全敏感的應用程式
  • 面向使用者的應用程式,定期發布新功能
  • 尋求簡單更新檢測的開發者

使用建議

  • 依賴應用商店的可用性與回應時間
  • 不處理應用內更新邏輯
  • 需要互聯網連接以檢查版本
  • 可能需要快取以供離線使用
  • 僅限 Google Play 與 Apple App Store

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

App Version Checker

this package is used to check if your app has a new version on playstore or apple app store. or you can even check what is the latest version of another app on playstore or apple app store.

Installing

Add App Version Checker to your pubspec:

dependencies:
  flutter_app_version_checker: any # or the latest version on Pub
Usage
  final _checker = AppVersionChecker();

  @override
  void initState() {
    super.initState();
    checkVersion();
  }

  void checkVersion() async {
    _checker.checkUpdate().then((value) {
      print(value.canUpdate); //return true if update is available
      print(value.currentVersion); //return current app version
      print(value.newVersion); //return the new app version
      print(value.appURL); //return the app url
      print(value.errorMessage); //return error message if found else it will return null
    });
  }
Or
  final _checker = AppVersionChecker(
      appId: "specify the app id (optional)",
      currentVersion: "specify the current version (optional)");
...
Use on ApkPure Store
   final _checker = AppVersionChecker(
    appId: "com.vanced.android.youtube",
    androidStore: AndroidStore.apkPure,
  );
...

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。