Reputation: 3552
I am trying to configure Firebase Crashlytics in my library project. According to Firebase its not possible to configure Crashlytics in the library project.
I am getting this error message.
Crashlytics was applied to an android-library project.
Android-library support is currently an incubating feature.
Help me if you have any solution or workaround.
I just wanted to log library project crashes in Firebase Crashlytics.
Upvotes: 10
Views: 1833
Reputation: 693
I recently worked on a library and from the get go, we knew that we won't be able to integrate an out of the box solution for this as it'll always conflict with consumer apps' implementation of the service like Firebase.
We opted for a different strategy. Handle all the crashes in the library ourselves and then heres what we do with them:
I understand this is not an exact solution that tells you how to use Firebase Crashlytics in a library but posting here as it gets the same work done.
Upvotes: 5