Reply to Yonglun Liu (Shanghai Wicresoft Co,.Ltd.)
Q&A is not a bug reporting or tracking system. Please continue to track the issues you filed on Github to avoid missing fixes or updates from developers.
Could you please explain why adding this comment as an answer to my post is necessary and why you moved my post from the Xamarin section to the Maui section? When I stated that the problem only applies to .NET9 for Android developers.
I would have preferred to ask these questions via replying to your email; however, as you choose to use microsoft-noreply@microsoft.com in your email, that is impossible. I, therefore, have to ask these questions here.
It should be evident from the post that I’m already tracking the issue. It also should be apparent that I don’t consider the issue I raised is a bug within .NET9 for Android.
Therefore, why do you object if I notify .Net9 for Android developers here of a problem and a potential workaround (fix) in converting their apps to .Net9 for Android?
Over the last couple of months, the replies I’ve seen on this forum from the moderators (Shanghai Wicresoft Co. Ltd.) give the impression that they are no longer interested in supporting .NET9 for Android because their replies invariably state:
Xamarin support ended on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. For more information, please check: Xamarin official support policy | .NET (microsoft.com). We will recommend you upgrade Xamarin projects to . NET MAUI, please see the…
I understand the requirement for the official message about the retirement of all the Xamarin SDKs, etc., but the message's text is incorrect in two ways. First, it recommends upgrading to Maui, which isn’t necessary for developers solely interested in publishing Android Apps or iOS apps, and second, at the time of the release.NET8 and .NET9, Xamarin.Android apps targeting Android 14 were and still are a viable solution (thanks to the .Net for Android team), and they will still be viable until the release of Android 16 for updates to existing apps after that date. Their viability is determined by Google’s publishing policies, not Microsoft’s.
Consequently, any post on this forum referencing Xamarin.Android, since the launch of the above message, has been met with the above reply from all the moderators of this forum as though that is the only possible answer to an OP’s question.
Further, over the last couple of months, I’ve noticed that the moderators here have taken an even stricter stance on replies to posts that attempt to assure Android developers that they can still use Xamarin.Android with Android 14, without converting to .Net7 or .Net8 for Android to the point that those answers have been deleted. You have been so successful with that technique that you’ve now managed to bring the forum to a standstill – not a single new post, other than my own, in November, according to my feed.
If you need further proof that neither .NET7 for Android or .NET8 for Android was suitable for production; I’d ask you to research these issues I raised and note the dates.
Weird performance behaviour differences in my app between the Xamarin.Android build as compared to the Net7 build #8285
Performance differences between Android 14 X.A. build and net8-android build #9244
Both available at https://github.com/dotnet/android/issues
This issue #9244 was only recently resolved.
Scroll to the bottom of that issue and note the following:
The last SpeedScope trace shows Rfc2898DeriveBytes taking a significant amount of time. Note that this was improved in .NET 9 significantly, specifically for Android: dotnet/runtime#103016.
Please read, and you may then understand why I couldn’t release a version of my apps using either .Net7 Android, or .Net8 Android and was forced to release them using Xamarin.Android.
I hope you understand now that the only reason I could publish my apps last July was the fact that Xamarin.Android supported Android 14.
Consequently, I’m only now in a position where I can confidently publish my first .NET9 for Android app. I’d guess you would agree that waiting two years is a very long time for an encryption/decrypting fix.
I hope my response has convinced you that you and your fellow moderators have been poorly advised by Microsoft and should ease off on your criticism of developers who attempt to bring these types of problems to this forum.
To resolve the issue and make your lives easier, I’d suggest creating three distinct forums: .NET for Android, .NET for iOS and Maui, and eventually phasing out the Xamarin forum.
One last question. Could you steer me in the right direction/person to contact at Microsoft to be able to make these suggestions?
If you have any further questions/answers, please reply using a conventional email address.