1

I need to release an app that can be downloaded from Huawei's App Gallery .

This would be my first time working in Huawei Developer Console .

I am using Flutter and have an existing app .

I understand that Google Mobile Services wont work .

Is there any guidance or docs to alter Flutter code to achieve same app functionality .

I am using below Firebase dependencies :

firebase_messaging: ^11.4.2 firebase_core: ^1.18.0 cloud_firestore: ^3.1.14 firebase_database: ^9.0.16 firebase_auth: ^3.3.20

Any guidance on this would be much appreciated thanks

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
Garth
  • 123
  • 1
  • 11

1 Answers1

0

In the list you provided, you use these GMS services:

firebase_messaging: ^11.4.2 firebase_core: ^1.18.0 cloud_firestore: ^3.1.14 firebase_database: ^9.0.16 firebase_auth: ^3.3.20

You can refer to the following Huawei mobile services(HMS):

Push KitAccount KitAppGallery Connect Cloud DBAppGallery Connect auth serviceAppGallery Connect Cloud Storge

Huawei also has provided some plugins for Flutter:

Push Kit plugins for FlutterAccount Kit plugins for FlutterCloud DB plugins for FlutterCloud Storge for FlutterAuth service for Flutter

Similar SO question:

Can a Flutter app be proposed on the Huawei AppGallery?

What google services are banned in Harmony OS (here is a list that I have used in my android app.)

Which hybrid apps does Huawei Mobile Services support?

The following repo contains the source code for HMS Flutter first-party plugin and AGC flutter-plugin Demos, kindly refer:

https://github.com/HMS-Core/hms-flutter-plugin

https://github.com/AppGalleryConnect/agc-flutter-plugin

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
  • Thanks . So from a Database point of view . Can it still be setup to achieve results on all 3 mobiles with HMS integration ? Example : Sending data to DB on Android mobile , iOS mobile and HUAWEI mobile using lets say Firebase DB . Or do i need to create brand new DB from HUAWEI Console ? – Garth Aug 10 '22 at 12:28
  • On the no-GMS device, you can still use the firebase DB. It can still work properly on the HMS device. – zhangxaochen Aug 11 '22 at 01:20
  • I guess i will just have to do a lot of reading , with trail and error integration . Thank you – Garth Aug 11 '22 at 11:00
  • 1
    If you have any queries, please feel free to contact us back. – zhangxaochen Aug 11 '22 at 11:05