TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
220 stars 49 forks source link

Wrong arguments in tutorials #170

Closed RafaRioFal4699 closed 1 year ago

RafaRioFal4699 commented 1 year ago

I followed the steps described at the README file in order to implement this NuGet. But the Setup step is wrong (https://github.com/TobiasBuchholz/Plugin.Firebase/blob/development/docs/bundled.md#:~:text=Add%20the%20following%20line%20of%20code%20to%20the%20place%20where%20your%20app%20gets%20bootstrapped%3A)

image

This indicates we must create a CrossFirebaseSettings object and include it in the Initialize function at the CrossFirebase class. But the compiler throw the error Argument 2: cannot convert from 'Plugin.Firebase.Bundled.Shared.CrossFirebaseSettings' to 'Firebase.FirebaseOptions' regardless the platform.

I looked at documentation to make sure I have the correct version, and I do. Is this an inconsistency between docs and tutorial, or I am doing something wrong?

I am using MAUI with .NET 7