HMS Core on Android is Huawei's alternative to Google Play Services - XDA Developers
HMS Core on Android is Huawei's alternative to Google Play Services - XDA Developers |
| HMS Core on Android is Huawei's alternative to Google Play Services - XDA Developers Posted: 05 Nov 2019 12:00 AM PST The Huawei Mate 30 Pro is objectively one of the best hardware releases of this year, featuring practically every meaningful innovation in the phone world so far, and introducing a fair few of its own. However, despite offering one of the best sets of features available on an Android smartphone, it cannot be recommended to a large swathe of users. And the blame for such an exclusion lies solely on the political situation between Huawei and the USA, which has forced the company to release an otherwise-excellent piece of hardware without the most crucial bit of functional Android: Google Play Services. The world could do nothing but watch as an Android giant attempted to figure out its way in a Google-less world. Huawei needed functional and reliable alternatives for itself and its users, and it needed them yesterday. Thankfully, Huawei had the foresight to work on some of its own solutions long before the unfolding of any trade politics. The Huawei AppGallery offered end-users and app developers an alternative to the Google Play Store, functioning as a medium to distribute and maintain Android apps. But distributing apps solves only part of the equation. The other major factor that also needed to be addressed is the fact that a lot of Android apps, including Google Apps, rely on a closed set of APIs to function — APIs that separated AOSP's Android from Google's Android, coming in the form of Google Mobile Services and Google Play Services. While Huawei could still continue using Android because of the open-sourced nature of AOSP, it couldn't use the proprietary Google Mobile Services (GMS), and by extension, Google Play Services on the Huawei Mate 30 Pro. This meant that developers who exclusively relied on GMS for functionality within their apps lost access to the tools that made those functions possible on future Huawei devices. For affected users, this meant that several of their apps would remain broken until the trade situation was resolved, or the app developers explored alternatives, or the user explored alternative apps. Two of those three situations are to the detriment of the app developer, and exploring an alternative to reduce the over-reliance on GMS might be in the better business interest of the developer. In this article, we will be exploring the second arm of Huawei's alternative solutions. Meet Huawei's HMS Core, the alternative to Google Play Services on Android. Google Mobile Services, GMS Core and Google Play ServicesBefore we attempt to answer what Huawei's alternative does, we need to take a step back and look at what Google's solution did for Android. While Android can be classified as an "open source" OS thanks to the existence of AOSP (Android Open Source Project), most users around the world have never really experienced AOSP in its purest sense. Most smartphones sold across the world, except in certain regions like China, come with Google's Android, which is AOSP plus Google Mobile Services. ![]() Google Mobile Services consists of regular user-facing apps such as the Google app, Play Store, Chrome, Maps, YouTube, Gmail, Photos and more; as well as APKs for core background services such as GoogleOneTimeInitializer, SetupWizard, GooglePackageInstaller, and of course, the GMSCore, and more. GMS Core is what we commonly refer to as Google Play Services. Google Play Services evolved as a means to solve some of the severe fragmentation issues that Google had been facing in the early days of Android. While Google was punctual with delivering Android updates with new functionalities that app developers could leverage in their own apps, the same functions would not be available across the whole Android universe for quite a few years because of the lack of updates from OEMs. Google responded by shifting key API solutions over to the Play Services platform, over which it had much greater control and which could be updated independently of the Android OS. ![]() This allowed app developers to build experiences that would function in the same manner across different Android versions. The migration did help with Android's fragmentation woes, but it also has led to a monopolistic universe where the exclusion of Google Play Services could handicap the entire experience of an Android smartphone.
GMS, and by inclusion Google Play Services, is only available to smartphone OEMs through a license with Google, which OEMs need to apply for once they pass the Android Compatibility Test Suite (CTS) and Google Test Suite (GTS) on a per-device basis. Since the inclusion of GMS and GMS Core is behind a license, and practically all major apps have grown to be reliant on Play Services and its APIs for many of their core functions, Google retains complete control of the Android ecosystem despite Android being open-sourced as an OS. It is likely that, as an Android user, you cannot practically use Android without Google, given that you would lose out on the following APIs:
This overarching control has largely been ignored by most of us. Most OEMs have played well with Google's decisions made through the GMS Core, though we do not know if this cooperation was out of their free will or because they had no real choice. When news surfaced of Huawei's political situation, the focus shifted back again to how central Google Play Services is to the Android experience, and how Huawei would make up for the deficit. Huawei Mobile Services and HMS CoreHuawei Mobile Services, or HMS, is Huawei's alternative to GMS, consisting of user-facing apps as well as core background services. The idea behind HMS is the same as that of GMS — to provide an experience that is consistent across devices and independent of the platform update. Much like how GMS is made up of app elements and core elements, the HMS ecosystem comprises of HMS Apps, the HMS Core, and the HMS Capabilities that the Core enables through its available APIs. ![]() HMS Ecosystem has seen its monthly average users increase from 420 Million globally in July 2018 to a huge 530 Million by July 2019, while developers registered on this platform grew from 450,000 to 910,000 in the same time period, and HMS Core app integration grew from 20,000 apps to 43,000 apps. Google does not release figures for its GMS integrations, so getting scale here is difficult against the #1 player, but these are still impressive figures in absolute terms. According to additional figures revealed by Huawei, HMS Core has a global reach of 530 Million users in more than 170 countries (including China), while still providing features such as cost-effectiveness, a unified portal for one-stop integration, and precise user targeting through multiple promotion channels. Huawei also claims to be compliant with international security and privacy standards, including GAPP, GDPR, and local regulations within its ambit. All of this will merely remain marketing points if HMS Core does not incorporate the APIs that GMS Core provides. In order to be a replacement for GMS Core, HMS Core needs to provide similar, if not better, functionality to developers, if it wishes to persuade them to consider itself as a valid option and migrate over from using GMS Core. HMS Ecosystem is currently limited only to Huawei devices, but even on its own, this is a massive subset of Android devices. Huawei alone has shipped over 200 Million smartphones this year so far, which is a substantially large number for app developers to take notice. As an app developer, it becomes essential to adapt to these devices as well as other Huawei devices that may not ship with GMS in the future. Even if GMS makes a return to Huawei, HMS continues to be part of Huawei's larger ecosystem strategy, where the smartphone becomes the central focal point that is used to control connected IoT devices. So adapting your app to play well with the HMS Ecosystem does make a compelling business argument. You don't want to make the same mistakes that Snapchat did when it ignored its Android userbase for years and only woke up to pay attention to them very recently. To offer more detail on the APIs that HMS Core provides to developers, here is a brief overview: ![]() Account KitHMS Core's Account Kit is the answer to Play Service's Google Sign-In, allowing developers to use an existing Huawei account as a valid option for signing into their app. This alleviates user fatigue by not requiring them to create a new account just for that app, and skip steps like email address verification, mobile number verification, and inputting other credentials; and overall helping the developer with the user onboarding process and lowering the user churn rate during registration and login. Account Kit boasts of the following features:
![]() Location KitHMS Core's Location Kit is the answer to Play Service's Fused Location Provider, essentially providing developers with access to accurate location data for use within apps. Much like Fused Location Provider, Location Kit adopts a hybrid positioning mode using data from GPS plus WiFi plus Bluetooth plus Network Base Station. This allows it to provide an easy-to-use, precise positioning interface for app developers, letting them quickly and accurately obtain user location information. Location Kit boasts of the following features:
Location Kit also has more features in the pipeline:
![]() Map KitHMS Core's Map Kit aims to be equivalent to Google's Maps SDK, providing developers with convenient and powerful map capabilities that can help improve the map experience within apps. Map Kit provides developers access to a personalized map display with rich map elements and multiple interaction modes. Map Kit also comes with its own geolocation data, with a claimed 100 Million+ information on points of interest, 150 Million+ information on addresses, as well as input prompts for sites and its own geocoding API. Map Kit covers 150+ countries and 40+ languages, and provides access to 25 APIs in total. |
| You are subscribed to email updates from "encrypted sms app,honor 8 encryption,file encryption app" - Google News. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States | |











Comments
Post a Comment