Publish to HUAWEI AppGallery Connect

    • Access the required HUAWEI AppGallery Connect related services via the Cocos Service panel. Currently the SDK only supports the Android platform, please refer to the documentation for the detailed operation steps.

    Use Cocos Creator to open the project that needs to be published. Open the Build panel from the Menu bar -> Project, select HUAWEI AppGallery Connect in the Platform dropdown of the Build panel.

    For the settings of the general options, please refer to the documentation.

    • agconnect-services Config: used to configure Huawei parameter file . Please refer to the Configs HUAWEI Parameter File for the specific configuration method.

    • Cocos SDKHub Config Set: this option is used to help the game quickly integrate the channel SDK. Please select the SDKHub service that you have previously enabled in the Cocos Services panel.

      sdkhub

    After the relevant options of the Build panel are set, click Build.
    After the build is complete, click the folder icon button in the bottom left corner of the Build Task to open the release package directory. You can see that the folder is generated under the default release path directory, which has been automatically integrated with HUAWEI AppGallery Connect related services.

    There are two ways to upload the APK to AppGallery Connect.

    1. Upload by the Build panel

    Creator supports uploading the APK generated by building and compiling directly to the AppGallery Connect backend.
    Click the Upload button in the bottom right of the Build Task panel to open the Upload panel, then fill in the relevant information.

    agc-upload-panel

    • APP ID: fill in the APP ID for your app. Login to the AppGallery Connect and click My apps -> App information to get the APP ID.

    • Version: fill in as required.

    • APK Path: select the APK generated after compilation.

    • Login Type: includes both OAuth and API Client.

      • OAuth

        The OAuth login type only requires you follow the prompts to login to your HUAWEI account (Need to have sufficient permissions) when you click Confirm, then check the box of the required permissions, the window will automatically close and the APK will be uploaded automatically.

    2. Upload by AppGallery Connect

    Sign in to AppGallery Connect, click My apps and select the app. Then switch to the Distribute column at the top left, click on Version information -> Draft in the left column, find the Upload APK package, click on Software packages, and then click on Upload.

    1. Sign in to AppGallery Connect, click My apps and select the app. Then switch to the Distribute column at the top left, click on Version information -> Draft in the left column, find the Upload APK package, click on Software packages, and then click on Select.

    2. For other configuration information, please refer to the documentation. After completing and confirming all of the information is in order, click the Submit button at the top right of the page. HUAWEI AppGallery will complete the review in 3~5 working days.