We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
GuidesLocation KitAbout the Service

About the Service

NOTICE
  1. To use the high-precision location capability, you need to comply with relevant laws and regulations. In addition, you and Huawei need to apply to related departments in China together for the license for using the high-precision location deflection plugin.
  2. Currently, the high-precision location capability is available only in Shenzhen, Guangzhou, Suzhou, Hangzhou, Chongqing, Chengdu, Tianjin, and Dongguan in the Chinese mainland. More cities will be supported in the future.

Location Kit provides capabilities for you to obtain the precise user device location quickly, helping you build up global positioning capabilities and expand your global business. Currently, Location Kit offers the following modes for accessing its capabilities:

  • Android: The Location SDK for Android offers location-related APIs for your Android apps. These APIs mainly relate to the following functions: fused location, activity identification, geofence, high-precision location, log writing, coordinate conversion, and indoor location. This mode is applicable to mobile phones and Huawei tablets.
  • HarmonyOS (Java): The Location SDK (Java) for HarmonyOS offers location-related APIs for your HarmonyOS apps. These APIs mainly relate to fused location and coordinate conversion. Currently, this mode is applicable only to Huawei smart watches.
  • iOS (Objective-C): The Location SDK for iOS offers location-related APIs for your iOS apps. These APIs mainly relate to fused location. This mode is applicable to iPhones running iOS 9.0 or later.
  • REST API: REST APIs of Location Kit enable you to initiate requests using HTTPS to call location-related capabilities, including GeoLocation (API) and IPLocation (API). This mode is applicable to web clients.

Supported Devices

Expand

Supported OS

Device Type

Function

OS Version

HMS Core (APK) Version

Android

Huawei phone and tablet

Fused location

EMUI 5.0 or later

This function can work without depending on HMS Core (APK). To use this function better, you are advised to install HMS Core (APK) 4.0.0 or later.

Geofence

EMUI 8.0 or later

4.0.4 or later

Activity identification

EMUI 9.1.1 or later

3.0.2 or later

High-precision location

EMUI 10.1 or later

5.0.5 or later

Indoor location

EMUI 9.1.1 or later

6.0.1 or later

Non-Huawei phone

Fused location

Android 5.1 - 13 (API Level 22-33)

Not required

HarmonyOS

Huawei phone and tablet

Fused location

HarmonyOS 2.0 or later

This function can work without depending on HMS Core (APK). To use this function better, you are advised to install HMS Core (APK) 4.0.0 or later.

Geofence

4.0.4 or later

Activity identification

3.0.2 or later

High-precision location

5.0.5 or later

Indoor location

6.0.1 or later

Huawei smart watch and telematics device

Fused location

HarmonyOS 2.0 or later

6.0.0 or later

iOS

iPhone

Fused location

iOS 9.0 - 16.0

Not required

NOTE

The activity identification feature is not supported on devices equipped with HiSilicon Kirin 710 or Kirin 810.

Supported Countries/Regions

For details, please refer to Supported Countries/Regions.

Privacy Statement

When you download or use Location Kit, you should agree to and sign the HUAWEI Developers Service Agreement, Agreement on Use of Huawei APIs, AppGallery Connect Data Processing Addendum, and HUAWEI Location Service Agreement. Otherwise, you cannot download or use Location Kit. You understand and promise that your download or use of the kit will be considered as agreeing to all of the aforementioned agreements and you will assume the corresponding legal liabilities and obligations based on these agreements. In addition, you are obliged to inform users in the privacy statement of the app that Location Kit only sends the longitude and latitude to the app and will not record the information.