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 Kit、Account Kit、AppGallery Connect Cloud DB 、AppGallery Connect auth service、AppGallery Connect Cloud Storge
Huawei also has provided some plugins for Flutter:
Push Kit plugins for Flutter、 Account Kit plugins for Flutter、 Cloud DB plugins for Flutter、 Cloud Storge for Flutter、 Auth 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: