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

套件詳情v0.5.0

open_store

一個簡單輕量的套件,用於在 Android 和 iOS 上開啟 Google Play 和 App Store 頁面

AndroidiOSmacOSWindowsLinux
近 30 天下載
3.3萬
喜歡數
117
Pub 分數
160

安裝套件

flutter pub add open_store

套件介紹

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

open_store 套件是輕量級的 Flutter 解決方案,可用於在 Android(Google Play)和 iOS(App Store)上開啟應用程式商店頁面,並支援 macOS、Windows 和 Linux。它能實現從應用程式內無縫導航至應用程式商店清單頁面,適用於應用程式內的回饋提示或更新提醒。該套件抽象了平台特定的邏輯,提供簡單的 API,根據裝置自動啟動相應的商店頁面。對於希望以簡單方式引導使用者前往應用程式評分或更新,而不需管理原生程式碼的開發者而言,這是一個理想的選擇。

適用情境

  • 應用內評價提示
  • 應用更新通知
  • 反饋收集
  • 引導使用者前往應用商店
  • 跨平台商店連結

主要特色

  • 簡單 API
  • 跨平台支援
  • Android 與 iOS 商店整合
  • 無需原生程式碼
  • 輕量級依賴

適合對象

  • 需要商店重定向的應用
  • 注重簡潔性的開發者
  • 依賴最少的專案
  • 反饋和更新工作流程
  • 跨平台應用

使用建議

  • 需要互聯網連接
  • 限制為商店頁面開啟
  • 沒有商店評分提交
  • 平台特定的商店網址
  • 不處理商店認證

原始 README

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

OpenStore

😎 Simple flutter package to open app page in store
😍 Without native platform code

Android

iOS

  • How to open app page in AppStore from Flutter ?
  • How to open app page in GooglePlay from Flutter ?

Getting Started

Add dependency
dependencies:
  open_store: ^0.4.0
Add import package
import 'package:open_store/open_store.dart';
Easy to use

Add method calling when you need open app page in store

    OpenStore.instance.open(
        appStoreId: '284815942', // AppStore id of your app for iOS
        appStoreIdMacOS: '284815942', // AppStore id of your app for MacOS (appStoreId used as default)
        androidAppBundleId: 'com.google.android.googlequicksearchbox', // Android app bundle package name
        windowsProductId: '9NZTWSQNTD0S' // Microsoft store id for Widnows apps
    );

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。