Android Question HMS - Huawei SDK - needs updating?

CaptKronos

Active Member
Licensed User
Longtime User
I have just returned, after many months, to one of my paid apps that uses HMS and have noticed that as soon as it calls the HMS library the following message pops up:
"Please install the latest version of AppGallery first".

Huawei's developer site at https://developer.huawei.com/consum...s/appgallerykit-paidapps-faq-0000001074231616 states:
"When I launch my paid app on a non-Huawei phone running Android 11 or later, the message "Please install the latest version of AppGallery first." is displayed. However, AppGallery has been installed on my phone. What should I do?

Cause: Android 11 and later versions grant only a part of permissions to your app so that your app cannot detect some apps including AppGallery.

Solution: Upgrade the SDK to 2.6.0.300
."

I am using the B4X HMS library v1.07 and am pretty sure that I have updated all the files from Erel's thread https://www.b4x.com/android/forum/threads/hms-huawei-sdk.124034/. Would it be possible for the SDK to be updated to a supported version? Thanks.
 

CaptKronos

Active Member
Licensed User
Longtime User
I should have said that when I saw the "install the latest version..." message that I did install the latest version. Also, the AppGallery app runs perfectly.
I have just tried changing my app's manifest to target SDK 29 (it was 33) and my app works. So it would seem the Huawei FAQ I quoted is correct, in that the requirement to update the Huawei SDK starts with Android 11 (SDK30). Of course, I would like to be able to target my app at an SDK higher than 29.
 
Upvote 0
Top