gradle-play-publisher
gradle-play-publisher copied to clipboard
Huawei AppGallery Support
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
See https://github.com/Triple-T/gradle-play-publisher/issues/583#issuecomment-499601941
Yep, would be good! For now our team uses plugin https://github.com/cianru/huawei-publish-gradle-plugin
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.
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.
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.
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