-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some methods require a parameter of type Java.Lang.Boolean instead of .NET Boolean in Firebase Crashlytics and Perf bindings #992
Comments
Thanks for the feedback. Some investigation is needed in order to give correct answer. |
The parameter type is Consider Additionally, note the documentation for that method, which explicitly calls out
We're not special-casing anything here. We're just binding the API, as-is. |
Thanks for the clear response! |
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 8.0.402
Description
There are two methods which I currently know of that require a parameter of type
Java.Lang.Boolean
rather than .NET Boolean.In Xamarin.Firebase.Crashlytics v119.1.0,
FirebaseCrashlytics.Instance.SetCrashlyticsCollectionEnabled
expects aJava.Lang.Boolean?
parameter while v119.0.3.1 had a .NET Boolean parameter.FirebasePerformance.Instance.SetPerformanceCollectionEnabled
of Xamarin.Firebase.Perf has the same issue as well where it expects aJava.Lang.Boolean
instead of a .NET Boolean type, but this has been like this for quite a while.Steps to Reproduce
Java.Lang.Boolean
instead of a .NET BooleanDid you find any workaround?
Use
Java.Lang.Boolean.ValueOf()
Relevant log output
No response
The text was updated successfully, but these errors were encountered: