Jonathan Pryor
Jonathan Pryor
@voroninp: are you uploading your app to a "store" such as the Google Play store? Or are you instead having users download your app from a web site? If you're...
It is extremely important to note that one of the *fundamental* changes between Xamarin (.Android/.iOS/.Forms) and .NET (Android/iOS/MAUI) is that the BCL implementation changed ***from Mono*** (*parts* of which were...
While it's good to know that "don't use `.ImportReference(System.Reflection.*)`!" Is The Way™, additional documentation and examples about how to make that work would be appreciated. How does one import `System.Collections.Generic.List`?...
See also: * https://learn.microsoft.com/en-us/answers/questions/1001662/suddenly-getting-securestorage-issues-in-maui
Regarding Scenario 1, I agree that we should `[Obsolete(error:true)]` those types, and remove them in a future release. We should absolutely prefer static members on interfaces, which better mirrors Java....
On further sleep & contemplation, one issue with Scenario 1 and removing the "Interface Alternative Classes" is that it'll be an ABI break. *Yes*, ***new*** code can't have been using...
@jpobst [wrote](https://github.com/xamarin/java.interop/issues/1132#issuecomment-1753908074): > we definitely need to keep the needed Proguard changes in mind as well. Related: we currently have code to create a ProGuard config file based on `TypeDefinition`s:...
Now, why should we care about `[Register]` ? Mostly because of https://github.com/xamarin/monodroid/commit/eb04c91c: > [MSBuild] Use an MD5SUM for package name, not namespace name. > > Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15205#c1 > Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=16805#c0...
@jpobst [also determined why JCW's were "polluting" the original package](https://discord.com/channels/732297728826277939/732297837953679412/1161068884850397294): https://github.com/xamarin/java.interop/blob/8e63cc8da1882cadc7db329bfa6cafb6f914769f/src/Java.Interop.Tools.TypeNameMappings/Java.Interop.Tools.TypeNameMappings/JavaNativeTypeManager.cs#L200-L209 If the type does *not* have `[Register]` attribute, *and* the type is within `Mono.Android.dll`, we *lowercase the namespace name*...
[Paraphrasing my replies from Discord…](https://discord.com/channels/732297728826277939/732297837953679412/1110655395606843443) Conceptual issue: the original sample code is inconsistent. The Java code has `getThing()` methods, while the binding code instead has `DoThing()` methods. These should be...