From 8ace17a032db6ceb84bd2c673a7db024def4e391 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Wed, 19 Jun 2024 10:08:13 -0400 Subject: [PATCH 1/2] Keep all .NET runtime classes --- src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg b/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg index 4527fd02826..d1083b9f013 100644 --- a/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg +++ b/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg @@ -26,7 +26,7 @@ -keepclassmembers class md52ce486a14f4bcd95899665e9d932190b.** { *; (...); } # .NET 8 runtime --keep class net.dot.android.crypto.DotnetProxyTrustManager { *; (...); } +-keep class net.dot.android.crypto.** { *; (...); } # Android's template misses fluent setters... -keepclassmembers class * extends android.view.View { From 7ea86b79614b540b8cf8ecbc8a4ba072f84a8986 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Wed, 19 Jun 2024 10:20:21 -0400 Subject: [PATCH 2/2] Review feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alexander Köplinger --- src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg b/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg index d1083b9f013..dbebe3a85bc 100644 --- a/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg +++ b/src/Xamarin.Android.Build.Tasks/Resources/proguard_xamarin.cfg @@ -25,7 +25,7 @@ -keep class md52ce486a14f4bcd95899665e9d932190b.** { *; (...); } -keepclassmembers class md52ce486a14f4bcd95899665e9d932190b.** { *; (...); } -# .NET 8 runtime +# .NET runtime -keep class net.dot.android.crypto.** { *; (...); } # Android's template misses fluent setters...