Flutter All HMS Kits
In this repository we try to combine all HMS Flutter Kits in one Project!
Flutter HMS packages integrated in this project :
- HMS / GMS Availability Checker.
- HMS Location Kit.
- Huawei Map.
- HMS Push Kit.
- Huawei Analytics Kit.
- Huawei Account Kit.
- HMS Site Kit.
- Huawei Ads Kit.
- HMS In App Purchase Kit. (Coming Soon)
Repository link
https://github.com/salmanyaqoob/Flutter-All-HMS-Kits
Download APK
For testing of Flutter project, please download the apk file.
Screenshots
Application
Screenshots
Project Guide
How to create custom platform-specific code
Please read the following documents to make bridge between flutter and custom platform-specific code:
- https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201275958264540108&fid=0101187876626530001
- https://medium.com/huawei-developers/flutter-check-hms-gms-availability-10f06aeea387
Install plugins to Project
huawei_location:
path: ./hms_packages/huawei_location
huawei_map:
path: ./hms_packages/huawei_map
huawei_site:
path: ./hms_packages/huawei_site
huawei_push:
path: ./hms_packages/huawei_push
huawei_analytics:
path: ./hms_packages/huawei_analytics
huawei_ads:
path: ./hms_packages/huawei_ads
Enabling/Disabling the Debug Mode for Analytics
adb shell setprop debug.huawei.hms.analytics.app <YOUR-PACKAGE-NAME>
shell setprop debug.huawei.hms.analytics.app .none.
Official HMS Resources
HMS All Plugins:
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin
Huawei Map Kit:
Codelab:
https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#0
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-sdk-download-0000001050190693
Huawei Location Kit:
Codelab:
https://developer.huawei.com/consumer/en/codelab/HMSLocationKit/index.html#0
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-plugin-0000001050304074
Push Kit:
Codelab:
https://developer.huawei.com/consumer/en/codelab/HMSPushKit/index.html#0
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-sdk-download-0000001050186157
Push Kit Server Side code SDK:
Supporting Language (Java, C#, Python, GoLang, PHP, Node.js, Ruby on Rails)
https://developer.huawei.com/consumer/en/doc/development/HMS-Examples/push-serverjavasdk
Analytics Kit:
Codelab:
https://developer.huawei.com/consumer/en/codelab/HMSAnalyticsKit-ReactNative/index.html#0
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-sdk-download-0000001050181641
Huawei Ads Kit:
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-sdk-download-0000001050181641
HMS Site Kit:
Flutter Plugin:
https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library/flutter-sdk-download-0000001050434643
Note:
This article and repository will update frequently upon new HMS Kits compatibility with Flutter framework.
Conclusion
This article and repository will be helpful for developers as a kick-start project. Developers can check the project configuration and code and make similar changes in your Flutter project to quickly get up and running for HMS solution.