Set up the plugin
What this guide covers
Section titled “What this guide covers”- Before you start: Unity version, Android build support, a Huawei developer account and an app in AppGallery Connect.
- 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.
- Import the packages: the free base package first, then any kits you use (such as In-App Purchases).
- Add your AppGallery Connect file: where
agconnect-services.jsongoes and why it is kept out ofStreamingAssets, so it does not end up in your Google Play build. - Turn kits on: choose the kits you use in Project Settings.
- Check the integration: run the built-in check and fix anything it reports.
- Build for Huawei and Google Play from one project: how to keep both builds working.
