Kousalya
Kousalya

Reputation: 760

Initializing Firebase crashlytics in android

I have migrated Fabric Crashlytics to Firebase Crashlytics in my android project. While using fabric, in activity class I have used below line,

Fabric.with(this, new Crashlytics());

But after migration, what is the exact replacement of this in Firebase Crashlytics.

Thanks in Advance..

Upvotes: 3

Views: 3678

Answers (1)

Bogdan Android
Bogdan Android

Reputation: 1395

You have to follow the Firebase tutorial when activating the Crashlytics. You don't need any code to initialize Crashlytics, it's automatic.

The only thing you need, following the tutorial, is to make an intentional crash, api will detect it and your crashlytics will be connected.

Please, follow the next documentation: https://firebase.google.com/docs/crashlytics/get-started?hl=es&platform=android

Upvotes: 1

Related Questions