搜索插件、代码仓与 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.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。