I got an android app where Fabric Crashytics is installed. I've followed the official guide to setup Firebase Crashlytics and linked the Fabric and Firebase accounts (AFAIK Firebase acquired Fabric recently).
So in particular I removed the Fabric
API key with <meta-data/>
tag in manifest.xml
.
Then I tried to make a test crash but it didn't appear neither in Firebase not Fabric dashboard, however I got a success log in logcat: Crashlytics report upload complete: <ID>
.
When I sniffed the network, it appeared that I'm getting 403 Unathorized
from Crashlytics. However when I add the Fabric
API key in <meta-data/>
tag it works and I see the crash report.
Help me please what is wrong with my configuration, why do I need to use old Fabric API key
if I'm using new Firebase Crashlytics and docs don't state that.
One of the best things about Firebase Crashlytics is that it is free and available on the Spark and Blaze plans.
For those on iOS that used Fabric, so this is what I finally got from support. I wanted to start fresh.
Remove API key from Info.plist - In your AppDelegate.swift, remove import Fabric and import Crashlytics and any Fabric.with statement, keep import Firebase and use FirebaseApp.configure() instead
Go to project settings in Firebase console, click the Integrations tab, unlink the appropriate Fabric app from Firebase (if you don't do this, you will get an error looking like: "[Fabric] failed to download settings Error Domain=FABNetworkError Code=-5")
Once I did this, and force crashed, it FINALLY showed up.
Below things are mandatory, if you Migrate from existing Fabric crashlytic application to Firebase crashlytic
<meta-data
android:name="io.fabric.ApiKey"
android:value="xxxxxxxxxxxxxxxxxxxxxxxxxx"
/>
Fabric.with(new Crashlytics()));
But not sure what will happen to these API and KEY, once fabric is down Say mid 2019.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With