Questions tagged [huawei-map-kit]

Use this tag for programming questions relating to Huawei Map Kit. It is one of the services provided by Huawei HMS Core for developers. HUAWEI Map Kit provides powerful and convenient map services for developers to implement personalized map display and interaction at ease.

55 questions
2
votes
3 answers

Huawei Map Kit - Certificates

Summary of our problem: We released last week our app bundle in the Huawei AppGallery. We used the Huawei Map Kit in order to integrate Maps. However, there seems to be a problem with map kit. We receive the error…
2
votes
2 answers

Unresolved reference: xms. Huawei Xms adaption layer is not working

I'm trying to add a G+H solution for my app. I've done conversion from HMS toolkit. But after the conversion, it gives me error on xms imports also it's give me error regarding Could not resolve all artifacts for configuration ':classpath'. Could…
2
votes
2 answers

Cannot generate signing certificate sha 256 for Huawei Map Kit

I am trying to migrate Google Map to Huawei Map kit. Now I should generate local SHA 256 fingerprint for Huawei App Gallery and I am following this official documentation provided by HUAWEI: Configuring App Gallery Connect I created my project in…
2
votes
2 answers

Cannot get com.huawei.hms.location.LocationServices for Huawei Map Kit in android studio

I am currently trying to migrate Google Maps to Huawei map kit in my android project. It was easy to migrate google maps to Huawei map at first. They are provided all the methods and classes that Google Maps have but now I couldn't get…
2
votes
2 answers

Get reference of my location button in Huawei mapkit

I'm using Huawei MapKit and I want to add my custom MyLocationButton but I don't want to use the location manager to get my location and move to it, I just want to huaweiMapMyLocationButton.performClick(), for example, with google maps I can do…
Mohamed Hamdy
  • 137
  • 1
  • 12
2
votes
2 answers

HMS Map Kit is Not Rendering?

I'm Trying to use HMS Map Kit in my project, the map is loaded but its never rendering Gradle:app dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0' implementation…
1
vote
1 answer

How to add svg as custom icon in HMSMarker (Huawei Maps) - React Native

I want to add an svg as custom icon in HMSMarker from '@hmscore/react-native-hms-map' . Can it be done? Because in the docs it does not mention something about svgs. I tried two things: To put a custom view as children in HMSMarker in order to…
1
vote
0 answers

Get location in HuaweiMap flutter

In my app i use Huawei map. I want get location, but locationService return Location with all nullable property. I don't have idea what i do wrong. Code to get location: var permissionHandler = PermissionHandler(); var status = await…
1
vote
1 answer

AGConnectServicesConfig only read agconnect-services.json first time

I'm integrating the Huawei Kit (Maps, Analytics, Crash and Push) into my Xamarin Forms App, but there is strange behavior, the agconnect-services.json is read only the first time I run the app, after that if I use this code var appId =…
1
vote
1 answer

Can I launch Huawei Map SDK on non-Huawei device?

I don't have possibility right now to test my app on Huawei device so I tried to do it on Android Studio emulator but I am getting this error and I don't know it's because it is not Huawei device or it is something else? Unhandled Exception:…
1
vote
2 answers

Huawei Cluster Map and View Marker

I am creating a project in React Native for Huawei and i use this library: "@hmscore/react-native-hms-map". When creating the map, how can I place the view inside the markup? In MapView I can put inside and draw anything, however in HMSMarker it…
1
vote
2 answers

Huawei Map Kit throws Network Error (Code 060001) when calling it from Android app

I am implementing Map Kit on my Android app. After following the official documentation on installing the HMS Core SDK, I have: Enabled Map Kit, Location Kit and Site Kit on AppGallery Connect. Added agconnect-services.json Encoded my API key using…
1
vote
1 answer

How I can fix a bug of "screen lock app" not recognizing that I entered the password on android?

When I enter the password on my phone it works but all apps isn't working.. Whenever I click on any app it says "Preparing apps.. try again in a moment" and that's because there is a bug in the system.. My phone is not recognizing that I already…
1
vote
2 answers

How to enable developer options on Huawei device (Cloud debugging) for using Fake GPS?

I don't have a physical Huawei device so I use Huawei Cloud Debugging to test my app. However, I can't test all features without using a fake gps location. I didn't find such a function in the emulator itself, so I want to do it with a third party…
1
vote
1 answer

I have an app created in expo that does not show the map on huawei devices, how can I fix this?

With the addition of HarmonyOS, the map that is from google is not available for Huawei devices. If I add the map that Huawei created for its devices, it will not be compatible with Android. Any ideas?