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
When building an Android app targetting API 29 or higher, MaterialEntryRenderer fails to get the mCursorDrawableRes field from android.widget.TextView, as it has been blacklisted.
I guess it also break the cursor colour change, but I haven't tested that.
I found this issue here with the exact same problem, and a proposed solution.
Expected behavior
The code should not throw a NoSuchFieldException here.
Reproduction steps
Create a project with a MaterialLabel, and the Android target API >= 29. Then run it in debug mode (I am using Rider). An exception should be caught by the debugger.
Configuration
Version: 1.8.0
Platform:
📱 iOS
🤖 Android
🏁 WPF
🌎 UWP
🍎 MacOS
📺 tvOS
🐒 Xamarin.Forms
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
When building an Android app targetting API 29 or higher,
MaterialEntryRenderer
fails to get themCursorDrawableRes
field fromandroid.widget.TextView
, as it has been blacklisted.XF-Material-Library/XF.Material/Platforms/Android/Renderers/Internals/MaterialEntryRenderer.cs
Line 74 in fef56fb
I guess it also break the cursor colour change, but I haven't tested that.
I found this issue here with the exact same problem, and a proposed solution.
Expected behavior
The code should not throw a
NoSuchFieldException
here.Reproduction steps
Create a project with a MaterialLabel, and the Android target API >= 29. Then run it in debug mode (I am using Rider). An exception should be caught by the debugger.
Configuration
Version: 1.8.0
Platform:
The text was updated successfully, but these errors were encountered: