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"

Job Offers

Job Offers


    Senior Android Developer

    SumUp
    Berlin
    • Full Time
    apply now

    Senior Android Engineer

    Carly Solutions GmbH
    Munich
    • Full Time
    apply now

OUR VIDEO RECOMMENDATION

No results found.

Jobs

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