You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So since I updated our HMS SDK to the latest version 2.3.2, logging in with huawei id is throwing this exception:
AndroidJavaException: java.lang.ClassNotFoundException: com.huawei.agconnect.auth.HwIdAuthProvider
java.lang.ClassNotFoundException: com.huawei.agconnect.auth.HwIdAuthProvider
at java.lang.Class.classForName(Native Method)
at
The sign in succeeds but on the success handler I have this code, which in runtime fails to find HwIdAuthProvider class: private void OnAccountKitLoginSuccess(AuthAccount authHuaweiId) { AGConnectAuthCredential credential = HwIdAuthProvider.CredentialWithToken(authHuaweiId.AccessToken); authServiceManager.SignIn(credential); }
The HuaweiMobileServices.dll file is in the Assets/Huawei/Dlls/ folder..which is ok.
Am I missing some gradle dependencies ?
Thank you. I was missing the Auth Service checkbox.
Could you please check my other issue with the Ads? I have the Ads Kit checked but ads are not loading #418
Hello,
So since I updated our HMS SDK to the latest version 2.3.2, logging in with huawei id is throwing this exception:
The sign in succeeds but on the success handler I have this code, which in runtime fails to find
HwIdAuthProvider
class:private void OnAccountKitLoginSuccess(AuthAccount authHuaweiId) { AGConnectAuthCredential credential = HwIdAuthProvider.CredentialWithToken(authHuaweiId.AccessToken); authServiceManager.SignIn(credential); }
The HuaweiMobileServices.dll file is in the Assets/Huawei/Dlls/ folder..which is ok.
Am I missing some gradle dependencies ?
I have these:
I'm using Unity 2020.3.43
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: