Deploy to Huawei AppGallery — Verified Bitrise Step

Fernando Prieto
Huawei Developers
Published in
3 min readJan 21, 2021

--

The Huawei Verified Step is already available and it means that anyone with an Android project, who needs to release an app in App Gallery, will be able to automatically deploy it through the new Bitrise Step.

About the new release 1.0.0 ✨

This new release includes the possibility of uploading and releasing the app completely in AppGallery Connect.

The previous version of the Step (0.9.0) offered the upload and release method simply as a draft. But this new release improves the process by letting to completely submit the app for review.

Before using this Step 🚧

  1. A first apk must be uploaded manually (using the web interface): visit AppGallery Connect ->My apps -> New app
  2. It must be headed to Users and Permissions->API key -> Connect API -> API client and then click on the button Create, set Project to N/A to define the API client as a team-level one.

Note: if any of the previous two instructions are not completed, the Bitrise Step won’t work.

Original Huawei asset

A common issue is finding users who have skipped the second instruction so they get error code 3 during the deployment process.

Adding the Step into a Workflow ⛓

By a simply click, it’s possible to add the Step into a Bitrise Workflow.

There are some parameters required to set up before the Step gets to work:

  • File path -Path to generate apk/aab file to deploy.
  • File name -Unique name of apk/aab file upload.
  • App ID -The identifier that can be found in the App information section in App Gallery Connect.
  • Client ID -The identifier generated in AppGallery Connect -> Users and permissions -> API key -> Connect API -> API client
  • Key -Key Secret generated in AppGallery Connect -> Users and permissions -> API key -> Connect API -> API client

The below example shows the details of a simple flow where an app gets build and signed, followed by the AppGallery Deploy Step:

What’s Next 🔮

There are not only new releases of the Step to be published in the next upcoming months but also some other integrations and collaborations by both parts, Huawei and Bitrise, that will be revealed soon.

The next planned versions will be:

  • 1.5.0 (February 2021) — Roll out an apk/aab in phased mode, which will allow selecting the rollout percentage and the rollout end date. This version will also include the scheduled release (by a concrete date) and the option of adding release notes.
  • 2.0.0 (March-April 2021) — Improvements in testing: migration from Shell Script to Go to modularize the code and create tests for every part of the code.

References 🗂

--

--