Upgrading to Firebase Crashlytics

Viewed 1280

I have followed the steps on this firebase crashlytics upgrade guide and I have replaced all the code for recording crashes in my app. But I am still getting a warning in the firebase console that says "Please upgrade to the generally available Firebase Crashlytics SDK to continue receiving crash reports in the Firebase console after 15 November 2020". Is there another step that I should do to upgrade. I am also still receiving crashes from older versions of my app that are not upgraded to the newest SDK. Could this be why the warning is popping up on firebase?

2 Answers

After upgrade firebase libraries:


Test your Crashlytics implementation

Force a crash to test your implementation

val crashButton = Button(this)
crashButton.text = "Crash!"
crashButton.setOnClickListener {
   throw RuntimeException("Test Crash") // Force a crash
}

addContentView(crashButton, ViewGroup.LayoutParams(
       ViewGroup.LayoutParams.MATCH_PARENT,
       ViewGroup.LayoutParams.WRAP_CONTENT))

Enable Crashlytics debug logging

adb shell setprop log.tag.FirebaseCrashlytics DEBUG

instead of enabling debug logging you can build a release version and Force a crash in the release apk to test your Crashlytics implementation crash


After your Forced crash in release version, this message should be displayed in the firebase console

You have the latest SDK installed

It may take up to five minutes for the report to appear in the Firebase console

My application was using fabric. I was getting continuous message to upgrade to sdk before 15Nov 2020. I followed same link https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android.

After 4-5 hours releasing it to my testing team. Firebase console updated to notify me that application is using latest sdk.

Step 1: Go to firebase console. Step 2: select your project. Step 3: Go to Crashlytics option from left menu. STep4: you will get below page.

enter image description here

Related