OiO.lk Blog Android Since your App has not been integrated with HMS yet
Android

Since your App has not been integrated with HMS yet


I’ve implemented Huawei DRM and added key fingerprints,
while my app "cannot be used or displayed on the HMS":

Notes: Since your App has not been integrated with HMS yet, It cannot be used or displayed on the HMS. If integration of HMS is needed, please refer to: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Library/android-sdk-download-0000001064112371

This link doesn’t work, while the documentation is also missing the required res/raw/keep.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources
    xmlns:tools="http://schemas.android.com/tools"
    tools:keep="@string/hiapp_download_url,@string/drm_appstore_name,@string/drm_dialog_*",
    tools:shrinkMode="strict"/>

With the res/raw/keep.xml of mine it now works with resource-shrinking enabled…
but the DRM "Integration Check" still has that one warning and nevertheless passes.

If your app is not paid-per-download, change it to free in AppGallery Connect. If your app is paid-per-download and has integrated the DRM SDK, check whether the HMS SDK code is obfuscated in the configuration file.

For details about how to modify the configuration file, visit https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/appgallerykit-paydownload-devprepare#h1-1578385113978


I don’t know what this check is even checking for, while my question would be, how to make sure this check passes? I’ve tried everything possible already, including removing almost every single Google dependency except GSON, etc. The DRM check also passes with the sandbox account, and fails in the cloud emulation (no login, no purchase), hitting retry shows kinf of "busy" overlay.



You need to sign in to view this answers

Exit mobile version