Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.09k stars 339 forks source link

Huawei AppGallery Support #810

Open emirkorkmaz opened 4 years ago

emirkorkmaz commented 4 years ago

Problem description

These days, device penetration of Huawei mobile phones are increasing and new models are without Google Play services. In addition, Huawei has their own application store called AppGallery and releases occur through Huawei's developer console AppGallery Connect. Most of the developers right now host GMS/Firebase and HMS (Huawei Mobile Services) ecosystems together in their codebase; it is necessary to configure 2 different releases.

Potential solutions/workarounds

Gradle Play Publisher would support AppGallery Connect Publishing API. At the moment, developers using Gradle Play Plugin has to deal with AppGallery releases by themselves manually

Additional context

SUPERCILEX commented 4 years ago

See https://github.com/Triple-T/gradle-play-publisher/issues/583#issuecomment-499601941

zhelanov commented 3 years ago

Yep, would be good! For now our team uses plugin https://github.com/cianru/huawei-publish-gradle-plugin

vlad-roid commented 3 years ago

I will fall back to the plugin suggested by @zhelanov as well, but just wanted to clarify that it only allows uploading and publishing app releases (APK/AAB), sadly there's no support yet for updating the store listing.

gotev commented 3 years ago

After some research and custom scripts for AppGallery I also ended up using https://github.com/cianru/huawei-publish-gradle-plugin

The two stores are different and have different APIs and mechanisms, so I think it's a good idea that this plugin keeps supporting only Play Store and that a dedicated plugin has to be used for Huawei.

SUPERCILEX commented 3 years ago

Just so it's out there, GPP's project architecture is fairly flexible and should be able to accommodate another store. I just don't have the time to do it, but if someone wanted to take that on I'd be happy to work with them.

syslogic commented 10 months ago

My Gradle plugin is rather slim, but it does the job (it uploads): https://github.com/syslogic/agconnect-publishing-gradle-plugin

Still can manage products & translations with my PHP API wrapper: https://github.com/syslogic/php-hms