Reputation: 76
I am trying to upload my app to the huawei's app gallery but every time I upload it for a review they send a vid where the map inside the app is not loading, At first i thought the issue was that they might be testing it using a device that doesn't have GMS but even after that, the map is not loading
what I tried so far -I added the signing-certificate fingerprint to the google cloud
but i then remembered that Huawei makes you sign the app with another signing certificate which is SHA-256 and the google console can only take SHA-1 how can i fix this issue
Upvotes: 2
Views: 3502
Reputation: 76
The issue was as expected since Huawei uses the app signing certificate that they created, it wouldn't load the map because google can't take SHA-256, so to fix the issue you should use APK instead of AAB to be able to use your app signing certificate to let the app be able to communicate with the API.
that means you can only use AAB when the app uses HMS instead of GMS
Upvotes: 1
Reputation: 34037
First you are advised to use Huawei map kit on huawei phones.
With respect to your second question, you could use the following command to to obtain SHA1 and SHA256 of the same key:
keytool -list -v -keystore android.jks
Upvotes: 1