Symptom
An error occurs at runtime when has.login is called. The error information is as follows:
errMsg: login error, message: Failed to check the fingerprint of the app bundle.Fingerprint verification error. errCode: 11000101
Possible causes
Automatic signing is used, which is not supported by HUAWEI ID sign-in authentication.
The certificate fingerprint of the app is not configured or incorrectly configured.
The signature of the debug version of the installation package is different from that of the release version.
Solution
Ensure that client_id in the module.json5 file in the module whose module type is entry is correctly set. For details, see Configuring the Client ID.
Ensure that the certificate fingerprint configured for the app in AppGallery Connect is correct. For details, see Adding a Public Key Fingerprint.
Update the version code in the app.json5 file to invalidate the local cache and try again.