Skip to content

Set up the plugin

  1. Before you start: Unity version, Android build support, a Huawei developer account and an app in AppGallery Connect.
  2. External Dependency Manager: the plugin uses Unity’s External Dependency Manager package to download the Huawei SDKs. You do not edit Gradle files by hand.
  3. Import the packages: the free base package first, then any kits you use (such as In-App Purchases).
  4. Add your AppGallery Connect file: where agconnect-services.json goes and why it is kept out of StreamingAssets, so it does not end up in your Google Play build.
  5. Turn kits on: choose the kits you use in Project Settings.
  6. Check the integration: run the built-in check and fix anything it reports.
  7. Build for Huawei and Google Play from one project: how to keep both builds working.