Home > Mobile >  Firestore dependencies in Huawei developer console
Firestore dependencies in Huawei developer console

Time:08-12

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

CodePudding user response:

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

  • Related