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

套件詳情v6.13.0+300

huawei_hmsavailability

適用於 Flutter 的華為可用性外掛程式。它可讓您檢測裝置上是否安裝了 HMS Core APK。

Android
近 30 天下載
7
喜歡數
17
Pub 分數
150

安裝套件

flutter pub add huawei_hmsavailability

套件介紹

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

華為 HMS 可用性外掛程式為 Flutter 提供檢查 Android 裝置上是否安裝 HMS Core 的功能。這讓應用程式能根據華為行動服務的存在來調整功能,確保相容性與最佳使用者體驗。此外掛程式提供簡單的 API 來偵測 HMS Core 的可用性,無需複雜的原生程式碼。對於針對中國市場或 Google Play 服務無法使用的地區之應用來說,特別實用。該套件可透過 pub.dev 無縫整合至 Flutter 項目中。

適用情境

  • 檢測 HMS Core 安裝狀態
  • 根據 HMS 可用性調整應用行為
  • 支援受限地區的華為裝置使用者
  • 在 HMS 不可用時啟用回退
  • 為中國市場開發應用

主要特色

  • HMS Core 的簡單檢測
  • 僅限 Android 支援
  • 無縫 Flutter 結合
  • 輕量且高效
  • 由華為官方維護

適合對象

  • 面向華為設備的Flutter應用
  • 支援非谷歌生態系統的開發者
  • 需要 HMS Core 依賴項檢查的應用
  • 在谷歌服務有限的地區進行的專案
  • 華為生態系統開發

使用建議

  • 僅限 Android 平台
  • 不安裝 HMS Core——僅檢測它
  • 需要手動處理回退邏輯
  • 不適用於iOS裝置
  • 取決於華為服務的可用性

原始 README

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

HMS Flutter Plugins

license

This repo contains the source code for HMS Flutter first-party plugins, which are developed by the HMS Core team.

These plugins enable access to using kit-specific APIs. For more information about plugins, and how to use them, see Official Documentations.

Plugins

These are the available plugins in this repository.

Plugin Version Documentation Demo Project
Account version Getting Started
API Reference
example
Ads version Getting Started
API Reference
example
Ads Prime version Getting Started
API Reference
example
Analytics version Getting Started
API Reference
example
AR Engine version Getting Started
API Reference
example
HMS Availability version Getting Started
API Reference
example
Awareness version Getting Started
API Reference
example
Contact Shield version Getting Started
API Reference
example
Drive version Getting Started
API Reference
example
Dynamic Tag Manager version Getting Started
API Reference
example
FIDO version Getting Started
API Reference
example
Game Service version Getting Started
API Reference
example
Health version Getting Started
API Reference
example
In-App Purchases version Getting Started
API Reference
example
Location version Getting Started
API Reference
example
Map version Getting Started
API Reference
example
ML version Getting Started
API Reference
example
ML Body version Getting Started
API Reference
example
ML Image version Getting Started
API Reference
example
ML Language version Getting Started
API Reference
example
ML Text version Getting Started
API Reference
example
3D Modeling version Getting Started
API Reference
example
Nearby Service version Getting Started
API Reference
example
Push version Getting Started
API Reference
example
Push-FCM version Getting Started
API Reference
example
Safety Detect version Getting Started
API Reference
example
Scan version Getting Started
API Reference
example
Site version Getting Started
API Reference
example
Wallet version Getting Started
API Reference
example

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。