Closed jahmai-ca closed 8 months ago
How can We fix this in the meantime? Also, it would be a good idea if removing the platform agnostic support does really fixes the crash for iOS in 5.0.0
@codercampos just use a previous version. I will bring back plain net7.0 support after any other issues that i can reproduce and fix or prs will be raised. This one is not critical since, again, the previous nuget version has net7.0
I'm asking this because the previous version it's causing the iOS crash. For the moment, since I'm migrating a XF app, I don't need the android part.
Please let me know if you need any help for testing, add or fix something 😄
UPDATE For some reason, now it's building on Android, I have an issue rendering the map but I think it's on my side.
I added the lib on Windows and it wasn't building. I rollback the implementation and moved to macOS. Re-added the lib and it works in both iOS and Android.
Another thing that I did it's remove the maccatalyst target framework, maybe that was giving me the issue. I will create a new project on Windows and see what happens.
I think having the maccatalyst target was causing me the issue. 🤷♂️ Thank you everyone! <3
Hello I had same problem. In my case I could not reference Maui.GoogleMaps.Hosting namespace in MauiProgram.cs I did reinstall package under Android choosen platform and suddenly it works.
Maybe this is also your case
Hello I had same problem. In my case I could not reference Maui.GoogleMaps.Hosting namespace in MauiProgram.cs I did reinstall package under Android choosen platform and suddenly it works.
Maybe this is also your case
when you said "I did reinstall package under Android choosen platform and suddenly it works." how did you do this? Which version of this nuget package Maui.GoogleMaps are you using? thanks
Paul
I'm asking this because the previous version it's causing the iOS crash. For the moment, since I'm migrating a XF app, I don't need the android part.
Please let me know if you need any help for testing, add or fix something 😄
UPDATE For some reason, now it's building on Android, I have an issue rendering the map but I think it's on my side.
I added the lib on Windows and it wasn't building. I rollback the implementation and moved to macOS. Re-added the lib and it works in both iOS and Android.
Another thing that I did it's remove the maccatalyst target framework, maybe that was giving me the issue. I will create a new project on Windows and see what happens.
Is this nuget still working for after what you did? which version are you using in you project?
brought back plain net8 support in here: https://github.com/themronion/Maui.GoogleMaps/commit/e7e87d04776503cd8da87cfb1f3a5bd3db427e64
VERSIONS
IDE
PLATFORMS
ACTUAL BEHAVIOR
ACTUAL SCREENSHOTS/STACKTRACE
EXPECTED BEHAVIOR
HOW TO REPRODUCE