Frustrating migration experience #19900
Replies: 4 comments 3 replies
-
Well wait until you discover firebase notifications don't work on Android in release mode. (I saw a firebase thing in your long path problem, which I saw too) Not sure why it's not listed as a known issue when it's so hard to figure out why notifications are not arriving. It took me a week. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the warning. Do you have a link to StackOverflow or to an issue which describes the behavior? |
Beta Was this translation helpful? Give feedback.
-
Any time, I would really love this issue to be fixed! Here's the ticket I could find on MAUI, though I'm not sure it covers the exact problem: #16014 Here's a SO ticket, with a suggestion of how to set up trimming with linker. (Note that with the suggested linking doesn't seem to work for me, at least I'm not confident it DOES work, but the mechanism is working) It's hard to narrow down, because either MAUI is framework is working against me (bin/obj stuff remaining after rebuild), or Google is simply not sending notifications any more due to too many registration attempts or something when installing/uninstalling the app? Also, each build takes minutes due to AOT and Trimming. Last thing I've done is I managed to get the dependencies to the latest version (partly looking at what ThomasGalliker has in his source code), that doesn't solve the problem, my hope was with https://github.com/thomasgalliker/Plugin.FirebasePushNotifications you mentioned as well, but I think he's going to run into the same issue once he's done with his refactoring PR. If it does work for you please let me know. Easy way to test: Set to release mode and deploy on device (trimming and AOT are on by default), also I'm assuming TrimOnPublish also applies to Release thing, not specifically Publishing it (as I can see it's performing trimming during release build) |
Beta Was this translation helpful? Give feedback.
-
Why not use WebUI, generate PDF in .NET and display iframe of pdf in browser makes so much sense than doing it in xamarin |
Beta Was this translation helpful? Give feedback.
-
After three weeks of "migration" from XF (Android/iOS) to Maui (.Net8) my frustration level is becoming higher. Almost nothing works.
I spend two weeks to make my app compiling again. Commented out some code/nugets which are not available for maui or using workarounds:
Compiling VS (17.8.4) Errors. Sometimes build again (multiple times) or restart VS works or delete bin/obj works or both:
If i have luck and the project compiles, app starts and the UI appears. My first impressions:
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
I don't know whyThis happens on the "first" pages in my app. On other pages the UI is "destroyed".
To be fair, not all is bad:
Edit:
Beta Was this translation helpful? Give feedback.
All reactions