I think I'm having an assembly binding / loading order problem #26102
Unanswered
AbsolutelyFreeWeb
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having a major problem with my .net maui app that I need your help and expertise with.
My task is to add push notifications to an existing app. The app has many sub projects.
I made a proof of concept for the push notification using firebase following a tutorial and it worked great.
I then added it to my larger app. First problem was to have to divide it into parts, syncing assembly versions etc.
Now that all that is done, it is still not working. My only lead as to why is this:
In the working app, when firebase is loaded I get this output (and this happens several pages down the output):
when maui loads, it is the first time it is loading. The mechanism that makes it load and initialize is using Xamarin.GooglePlayServices.Base and having the credential file google-services.json tagged with GoogleServicesJson
The tutorial adds Google Dagger although I never saw it used. I'm not sure if that is part of the missing piece.
Now on to the app that is not working:
What happens is that, as soon as it deploys it loads maui. So the first lines of output is this:
when it eventually comes down to the place it wants to load firebase I get this:
The initialization of firebase fails seemingly because Maui is already loaded when it tries to initialize.
I have tried to move things around, but I really lack understanding of how this works and how I can fix it.
I really would appreciate any help... Thank you!
Beta Was this translation helpful? Give feedback.
All reactions