Anki-android: Autopublish to Huawei app gallery

Created on 15 Jul 2020  路  10Comments  路  Source: ankidroid/Anki-Android

It appears we can do releases to the Huawei AppGallery automatically using this: https://github.com/cianru/huawei-publish-gradle-plugin

So it would not be too different from the recent auto-publish addition of Amazon Kindle Store: https://github.com/ankidroid/Anki-Android/commit/598e16e53810a57157646a543f7e10ae6cbcc5de#diff-01a43ecae7f3cbc652f4ae54b0232b5e

Would require a project owner to create our project with Huawei and store secured credentials with release managers here

Dev

Most helpful comment

That took a while but this popped in my mailbox overnight, meaning I should be unblocked to try again:

The issue has been resolved, please try upload your app again.

Should you need help with anything else, please feel free to reach out back to us.

All 10 comments

Turns out GitHub's blocked in the mainland, +1 here. Nope, I was incorrectly informed

Even if github is available, it's not going to be nearly as accessible as simply using the default app store on the phone, and per google they can't do it (https://support.google.com/android/thread/29434011?hl=en) so this is by far the best way to reach Chinese users.

I did just check (for grins) and analytics tagging does work, we have analytics on chinese users (likely because of the way we do it, directly posting to the servers vs loading JS libraries etc or using phone pre-installed Google Play GMS libraries, thanks open source licensing requirements for forcing that...)

verification of my personal details to create a developer account (which will host the app) in process
status will be here https://developer.huawei.com/consumer/en/console#/userSetting/profile

Dear developer,

  Your application to join HUAWEI Developer was reviewed.


  Review result: passed

  Your membership starts from 2020-08-11.

So I'm unblocked, this will go back in the actionable task hopper...

How exciting, android package com.ichi2.anki is already taken. I've submitted a ticket with accompanying documentation to claim the app for the account I'm currently working in so I can upload a build

https://developer.huawei.com/consumer/en/support/feedback/#/ticketDetail?id=65302&time=2020-08-10%2018:17:42&ticketeCheckState=0

That took a while but this popped in my mailbox overnight, meaning I should be unblocked to try again:

The issue has been resolved, please try upload your app again.

Should you need help with anything else, please feel free to reach out back to us.

They have given my user account the correct ownership over the package and I've got a release of 2.12.1 submitted for approval on their marketplace.

We still had 7 screenshots in zh-CN of the app even, so it will look good in China :smile:

Once it is actually approved, I'll do the integration with APK submission API keys and our release script

Our first Huawei AppGallery release is available:

Dear developer,

Your application submitted at 07:04:16,August 23,2020 for releasing AnkiDroid Flashcards 2.12.1 was approved. AnkiDroid Flashcards 2.12.1 is now available for download on HUAWEI AppGallery.
Review comment: Your App has been approved.

https://appgallery.huawei.com/#/app/C102711481

All blocks that were out of my control are removed and I will now pursue automated auto-publish implementation via our release script similar to Amazon autopublish https://github.com/ankidroid/Anki-Android/commit/598e16e53810a57157646a543f7e10ae6cbcc5de#diff-b91eeb35e4e3920b1a96d2d03212320a

@infinyte7 out of curiosity, any interest in adding the AppGallery badge to the README? :-) :pray: They have a button pack here: https://huaweimobileservices.com/appgallery-badge.zip - I also noticed the F-Droid one is clipped just a little in text-to-right-edge spacing, but that's minor

I will update all store badge with recent updates. New badge will be updated for all store.

champion :trophy: :rofl: - thanks man

Was this page helpful?
0 / 5 - 0 ratings