Public repository for HUAWEI HMS & AGC Unity SDK
Перейти к файлу
siyao f4e3f1ee1f Merge branch 'CloudFunction' 2021-12-22 18:06:14 +08:00
Assets fix gen code without newton json 2021-12-17 17:22:00 +08:00
Documentation doc: update game service documentation, version 6.1.0.301 2021-12-17 14:44:34 +08:00
Packages update for unity2020 2021-12-17 15:42:07 +08:00
ProjectSettings update for unity2020 2021-12-17 15:42:07 +08:00
UserSettings update for unity2020 2021-12-17 15:42:07 +08:00
.DS_Store update documentation floder name 2021-06-22 12:07:54 +08:00
.gitignore initial commit 2020-08-24 11:45:35 +08:00
README.md update readme 2021-12-21 10:32:49 +08:00

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 2020 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

Updates: Huawei updates the SDK version, which needs a higher gradle version. Gradle of Unity 2019 does not support it. We upgrade the version to Unity2020. The old version is in branch unity2019. Please open this project using Unity 2020 or higher. If you have to use unity 2019, please download a new gradle and update the unity 2019 configuration.