cianru / huawei-appgallery-publish-gradle-plugin

Huawei AppGallery Publish Gradle Plugin allows you to publish the android release build file (*.apk or *.aab) to the Huawei AppGallery store
Apache License 2.0
111 stars 20 forks source link

UPLOAD_ONLY mode don't work if it's a new apk for the same draft #17

Closed zhelanov closed 3 years ago

zhelanov commented 3 years ago

For some reason when I upload apk with UPLOAD_ONLY mode twice for the same draft it's not saving apk in AppGallery for a second (and further) upload. For example, I may create app-1.0.apk and upload it. Then I'll see it on AppGallery Console web interface. Then I create app-1.1.apk and upload it too but it'll be not presented in AppGallery Console despite of log


Huawei AppGallery Publishing API: Upload build file '/path/to/app-1.0.apk'
Huawei AppGallery Publishing API: Upload build file without draft and submit on users - Successfully Done!
ipBill commented 3 years ago

It's not working. But deployType = "draft". It's work for me.

zhelanov commented 3 years ago

Actually, UPLOAD_ONLY works but only once. deployType = "DRAFT" have it's own problem mentioned in issue #12

zhelanov commented 3 years ago

Well, now I can confirm that UPLOAD_ONLY really doesn't work at all from some moment :)

zhelanov commented 3 years ago

Well, I don't know how I've tested it before (because UPLOAD_ONLY worked) but now it really doesn't work.

I've contacted Huawei support and asked them about apk uploading via API and they told me that it's necessary to do stage Update App File Info. So I'm sorry to force you to waste your time to implement this mode :(