HMS-Core / hms-xamarin-bindings

This repo contains all of Xamarin HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
36 stars 11 forks source link

PushKit - Didn't find class "com.huawei.hms.framework.common.EmuiUtil" #12

Closed leonardbarbu closed 1 year ago

leonardbarbu commented 1 year ago

Hello, After facing this issue into a production app, I downloaded the PushKitDemo on my Mac and I am getting the same issue. I am testing on a Huawei P40 Lite. I am getting the error on both debug and release modes, so it's not related to proguard.cfg.

On this post on StackOverflow some guys said to downgrade Huawei.Hms.Push to the lowest available version 5.0.4.302, but I made the update of the NuGet package from the old one 5.0.4.302 to the current one (6.1.0.304) - because of a security warning in Google Play console (Implicit PendingIntent on com.huawei.hms.support.api.push.pushselfshow.prepare.PushNotification.showNotification

Thanks.

Captură de ecran din 2022-11-29 la 14 08 41
xuxiapu commented 1 year ago

@leonardbarbu Dear developer, It is recommended that you install the "Huawei. Hms. NetworkFrameworkCompat" component and try again. If you have other questions, please contact us.

leonardbarbu commented 1 year ago

@leonardbarbu Dear developer, It is recommended that you install the "Huawei. Hms. NetworkFrameworkCompat" component and try again. If you have other questions, please contact us.

It's working. Thanks!