Getting ready with DIXY app publishing in AppGallery
About the Project

AppGallery – is Huawei brand app store for Android and Harmony OS devices. In fact, this is nothing else but an alternative to Google Play, and a third most popular apps distribution platform globally, after Google Play and AppStore.


In 2019 Google banned installation of Google Mobile Services in Huawei smartphones. Currently, Huawei operating system is an AOSP (Android Open Source Project) with HMS (Huawei Mobile Services) installed instead of Google services.


To upload the application to AppGalley it shall be adapted to this platform first. This was the reason for Huawei turning to us for assistance.

Problem and task
We needed to adapt the mobile apps of DIXY, a large-scale retail food-store chain, for AppGallery, i.e., to redevelop the application code so as to remove all Google services in it and replace them with similar Huawei services.

Solution

DIXY app was closely centered around Google services. These services included analytics, maps, geolocations, deep links, push-notifications. To tackle the problem our engineers first had to analyze how deeply Google services were integrated into the application code, and after that, select the appropriate kits, libraries from Huawei and fully replace the services.

Project implementation stages:

  1. Implementation of Yandex.Analytics
  2. Implementation of push-notifications
  3. Replacement of cartography and location-based services and clustering data on maps
  4. Dynamic referencing
  5. Replacement of QR-code scanner
  6. Testing and stabilizing of the application

The following was replaced:

  1. Firebase Push Notifications were replaced with HMS Push Kit
  2. Google Maps were replaced with HMS Map Kit
  3. Firebase Deep Linking was replaced with HMS Deep Linking
  4. Google ML Kit was replaced with Zxing

The challenges we faced

During the first stage the developers started to develop the Flutter 1 based application. However, this prevented us from using the newest Huawei libraries which turned out to be incompatible with this platform and were tailored to Flutter 2. This resulted in the incompatibility problems.

We quickly reorganized the process and notified our Huawei partners hereof. Huawei got down to fixing the problem.


Moreover, another issue was the need to make testing on “clean” Huawei phones free from any Google services. This has proved to be quite challenging in Russia. The point is that “clean” phones can show the bugs that couldn’t be identified on devices with installed Google services. But we successfully tackled this problem due to Huawei support. Huawei promptly sent us the needed “clean” phones

Result

Finally, the app was published in AppGallery. It took us no more than 2 months to cope with the task.

© 2023
contact@globus-it.com
Gustava Zemgala gatve, No. 74, lv-1039
Latvia, Riga
+371 64 415 295
+90 532 307 88 88
Yeşilce Neighborhood. Yunus Emre Street. No: 8/1
Kağıthane
Türkiye, Istanbul