Welcome to hell! A day in the life of a Maui developer. #15318
Replies: 4 comments 6 replies
-
object oriented programming kinda do these things, I'm sorry you are suffering brother, I bet one day there's explainations like you are not writing program the way they want you to, but then the compiler should've caught this via type system which is the framework's oppertunity to ensure correctness, it might be without MaximumHeightRequest the Grid cause deadlock or stackoverflow it's poor design rather than your fault for using Grid inside this or that component for example |
Beta Was this translation helpful? Give feedback.
-
A network call caused the app to hang? I presume you checked to see that it wasn't a threading issue that just happens to be exposed or hidden? Also curious if you read the documentation for DeviceInfo? Under Platform Differences: |
Beta Was this translation helpful? Give feedback.
-
I'm in the same boat & feel your pain, I've got the same "A day in the life" experience...come on MSFT your making money hand over fist with ChatGPT and your stock has exploded -- so throw some $$$$$ to the MAUI team and hire more people ASAP. |
Beta Was this translation helpful? Give feedback.
-
I spent over a week with a crash in Android release. The same code works on Windows, iOS and even Android in debug. After convincing myself it was my bug, I tried various logging approaches in an attempt to get log information from Android release. Analogous to the old days of printf debugging I added enough Console.WriteLines to the android device log that I figured out it was a binding problem with a collectionview using an observablecollection. After checking that all resources were defined, spinning around in my chair a few times. I found an article about binding issues on iOS in release (not Android). The solution was to add the XamlCompilation attribute into the partial class of the page. It worked. Of course, if you report it as an issue, they want you to provide a sample after you have spent a week determining that there is a difference with the XamlCompilation between debug and release apparently that only shows it's ugly head on Android. I will say - this is no worse than Xamarin.Forms in the early days. You spent more time working around issues than writing the app. But hey, they will start over and rewrite everything with breaking changes because they don't have a source base that they need to maintain. [XamlCompilation(XamlCompilationOptions.Skip)] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought it would be good to start a discussion on where all our time goes when working on Maui, and what our experiences are. I'll start...
Since our project is now so far behind - due to not being able to go more than 3 minutes without having to work around another Maui bug - we are working the weekends and evenings. Here is how I got on this weekend:
Saturday and Sunday - both days taken up trying to make a page scroll on iPhone. Page works perfect on Android (and did at one time work on iPhone) but now just drops off the bottom of the screen and doesn't scroll. Off course it turns out to be yet another well reported/unactioned bug. I lost 1 day working out if it was a bug or something I was doing wrong, then I spent the next day trying 1000 workarounds (during which time I kept being hindered by other bugs) before I got something to work.
Monday - an API call just suddenly stopped responding, seemingly for no reason. The server was responding but Maui was just hanging - no error message or any kind of response. The call stack just seemed to drop off. Calling the API in other places worked ok - so it's not the API itself. It's now 3pm and I just realised that the change which broke the API call was my removal of MaximumHeightRequest from a grid. Yes you read right - I removed MaximumHeightRequest from a grid, and that causes an API call to hang.
Adding that height request back in makes the API work again. Strangely, it didn't occur to me until later in the day to revert that change and see if it fixed the API... Maybe some kind of error message would have been nice.
So, my output for 3 full days of work is that 1 page now scrolls (with a horrible workaround in place), and an API which stopped working now works again.
I've reached the point where I can't really be bothered to report bugs, because it is so pointless, however I did report one about DeviceInfo not working. It basically returns gibberish when you use it on an iPhone, so look out for that one!
Beta Was this translation helpful? Give feedback.
All reactions