HMS-Core / hms-xamarin-bindings

This repo contains all of Xamarin HMS plugins.

Home Page:https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

leonardbarbu opened this issue · comments

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

@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 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!