本演示项目在Unity for Android Build中启用部分华为HMS和AGC服务,对应的类和函数的名称和用法相同。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
siyao 9e8eba21 fix gen code without newton json 3 年前
Assets fix gen code without newton json 3 年前
Documentation Merge branch 'GameService' into CloudFunction 3 年前
Packages update for unity2020 3 年前
ProjectSettings update for unity2020 3 年前
UserSettings update for unity2020 3 年前
.DS_Store update documentation floder name 4 年前
.gitignore initial commit 4 年前
README.md Update README.md 3 年前

README.md

HuaweiService Demo

This demo project enables parts of Huawei HMS and AGC services in Unity for Android Build, which is implemented by wrapping HMS and AGC SDK. Name and usage of corresponding classes and functions are the same with Huawei.

The following Kits included.

  • HMS
    • Game Service
    • Ads
    • Push
    • Location
    • Analytics
  • AGC
    • App Linking
    • App Messaging
    • Remote Configuration
    • APM
    • Crash
    • Auth Service
    • Cloud Functions
    • Cloud Storage
    • Cloud DB

Unity 2019 or higher

Before build, add your keystore, create huawei agc project and put agconnect-services.json under Assets/Plugins/Android/

key store path Edit -> Project Settings -> Player -> Android(icon) -> Publishing Settings

In location test, before you click CreateGeo button, you should click update with callback-102 to get your position.

Please check the documentation folder or visite the documentation webpages