Blog Infos
Author
Published
Topics
,
Published
Communication

appgallery-publisher, uses Huawei’s ConnectApi for authenticating to AppGallery. Also, it uses PublishApi to send the latest application info.

Package Types

appgallery-publisher supports both them apk and app bundle package types.

How To
node standalone.js appId=app_id submit=true grantType=client_credentials clientId=client_id clientSecret=client_secret artifactPath=path
// Params
{
    "appId": "app_id"
    "submit": "true" (optional),
    "grant_type": "client_credentials",
    "client_id": "client_id",
    "client_secret": "client_secret",
    "artifact_path": "path" (etc: /Users/mustafa.yigit/Desktop/app-release.aab)
}
  • Express service
Request
POST -> http://localhost:3000/publish?appId=105596257&submit=true
Body
{
    "grant_type": "client_credentials",
    "client_id": "client_id",
    "client_secret": "client_secret",
    "artifact_path": "path" (etc: /Users/mustafa.yigit/Desktop/app-release.aab)
}
Response - upload only (without submit param) "result": { "packageVersion": "98591645147584" } -------------------------------------------------- Response - upload & publish (with submit param) "result": "success"

OUR VIDEO RECOMMENDATION

, ,

Migrating to Jetpack Compose – an interop love story

Most of you are familiar with Jetpack Compose and its benefits. If you’re able to start anew and create a Compose-only app, you’re on the right track. But this talk might not be for you…
Watch Video

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engineer for Jetpack Compose
Google

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engin ...
Google

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engineer f ...
Google

Jobs

No results found.

YOU MAY BE INTERESTED IN

YOU MAY BE INTERESTED IN

blog
This tutorial is the second part of the series. It’ll be focussed on developing…
READ MORE
blog
We recently faced a problem with our application getting updated and reaching slowly to…
READ MORE
blog
A few weeks ago I started with a simple question — how to work…
READ MORE
blog
One of the main functions of a mobile phone was to store contacts information.…
READ MORE

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu