I am developing an app for android, on Huawei devices I am facing many issues. I am using FusedLocation and Notifications in my app due to which I had to develop another app for Huawei devices as many Huawei devices are not supporting GMS now. I am unable to understand the main difference between HMS and GMS.
- If a Huawei device is containing both GMS and HMS and app is downloaded from App Gallery (that contains HMS support) then HMS core will cause some issues. Notifications and Location callback will not work correctly.
- If a device contains only HMS core and app is downloaded from AppGallery then it will work fine.
You are advised to use the solution for integrating both GMS and HMS. The advantages are as follows:
It is recommended that you use HUAWEI HMS ToolKit, which can help you quickly add the HMS+GMS adaptation layer code and upgrade your logic code to support both GMS and HMS.
For details, You may refer to this question: Have both GMS and HMS in the project.