appgallery-publisher
appgallery-publisher copied to clipboard
Upload or Upload & Publish your bundle (apk or aab) to Huawei AppGallery with ConnectApi
appgallery-publisher
Upload/Publish your bundle (apk or aab) to AppGallery automatically with appgallery-publisher
Usage
- Single Javascript File
- Bash File
- Node App (Here)
Query Params
- appId (required, string)
- submit (optional, boolean)
Body
{
"client_id": "client_id",
"client_secret": "client_secret",
"artifact_path": "path" (etc: /Users/mustafa.yigit/Desktop/app-release.aab)
}
Request
POST -> http://localhost:3000/publish?appId=105596257&submit=true
Response
* upload only
"result": {
"packageVersion": "98591645147584"
}
* upload & publish
"result": "success"