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 messages: V/HmsMapKit_MapDataVersionClient_15: build request with apiKey D/HmsMapKit_AuthenticateClient_86: response code : 401 E/HmsMapKit_TileCache_38: startUrlRequest Identity fail, do not has permission get tile. authResult :010002
What we have done so far:
- Enable mapkit in AppGallery connect
- Add sha256 fingerprints of the signed bundle to the app in AppGallery conncet
- Build the app with agconnect-services.json
- Initializing mapkit with the api key setup on the huawei developer page
- Encode the API key as below: URLEncoder.encode("", "utf-8")
- Tested the rc before uploading where it worked perfectly fine
As we are having troubles in identifying the cause for our problem, it would be very helpful to get further advice.
Thank you very much in advance.