FirebaseCrash reported as "This class is obsoleted in this android platform"
This is just confusing. How am I supposed to integrate various Firebase services like Crashlytics, Messaging etc.?
Using these libraries or using these libraries?
I assumed that libraries from this repository are the right ones, since the other repository uses Fabric, which is now being deprecated by Google after full integration with Firebase.
Please help, anyone.
I think those are outdated
https://github.com/xamarin/XamarinComponents/tree/master/Android/Crashlytics
and GPS-FB should be the right one
https://github.com/xamarin/GooglePlayServicesComponents
versions 71.x.y.z are for Android.Support (legacy) and versions 1xx.yy.zz are AndroidX based - so stick with 1xx
If this answers your question please be so kind and close the issue
Thanks mel
Following on from @StepanMynarik's comment, I've hit this problem too and had been waiting for a 1xx.yy.zz version of the Crashlytics nuget. I see last week that most of the Xamarin Google nugets moved out of preview for a full 1xx version, except for Xamarin.Firebase.Crashlytics which is still on v117.0.0-preview02.
That relies on (for example) Xamarin.Firebase.Common v119.3.0-preview02 - the latest relesaed version is v119.3.0 so I gave it a go and imported the nuget into my project. While the app built, and the APIs for (for example) Firebase.Crashlytics.FirebaseCrashlytics.Instance.RecordException are present, trying to start the app immediately crashed with reference to Dagger libaries.
Do you know if this is expected behaviour (and why it's not come out of preview02 yet)? Any help much appreciated.
Someone's been through and got the new NuGets working for Firebase Crashlytics, and put their steps here: https://github.com/a-imai/XamarinCrashlyticsUpgradeSample
I've given it a run through and seen Firebase acknowledge it's using the latest Firebase library (so not warning about the November deadline), and showing non-fatal exceptions, and have seen a fatal exception arrive too (though was expecting to see two), but progress!
@stevecluk Thanks for the feedback and the sample. Appreciated.
Hi @stevecluk early today i've achieve complete the console validation for the new version... but i dont seen any fatal error logged... later i've follow all that you wrote here and xamarin forum, and i've only get an fatal error when run my app in RELEASE... but the log is like obfuscated:
Fatal Exception: android.runtime.JavaProxyThrowable
System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1[T].get_Value () [0x00008] in <71d277dd62834e57a9da28a9f1bb8775>:0 at FincAppDistribucion.View.Abastecimiento.ListaPedidosViewModel.Recepcionar () [0x00029] in
and all the logs are tittled the same exception: android.runtime.JavaProxyThrowable can you help me a little bit for if i've forgot something?