xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.52k stars 505 forks source link

Contact Plugin Works Except With a Huawei P20 Pro #1730

Open srhan00 opened 3 years ago

srhan00 commented 3 years ago

Description

[] [ZeroHung]zrhung_send_event: watchpoint msg buffer too long, len=51652, max is 15360 [ZrHungImpl] sendAppFreezeEvent failed!

Steps to Reproduce

  1. Follow the steps in the Xamarin.Essentials: Contacts tutorial (https://docs.microsoft.com/en-us/xamarin/essentials/contacts?tabs=android)
  2. Run the code in debug mode using a Huawei P20 Pro
  3. Program will freeze display a message like this

[] [ZeroHung]zrhung_send_event: watchpoint msg buffer too long, len=51652, max is 15360 [ZrHungImpl] sendAppFreezeEvent failed!

Expected Behavior

Should show the names (DisplayText) of all the contacts

image

Actual Behavior

Huawei P20 Pro freezes and debug message says

[] [ZeroHung]zrhung_send_event: watchpoint msg buffer too long, len=51652, max is 15360 [ZrHungImpl] sendAppFreezeEvent failed!

Basic Information

Thank you!

dimonovdd commented 3 years ago

@srhan00 Hi I don't have a Huawei P20 Pro. And I don't think the issue is with the specific phone. You can copy all contacts from this device to another and check a behavior?