I have a library project (a custom view library project) which doesn\'t have any Activities/services. I want to integrate Crashlytics SDK to my library. When I try to add it via
You need an app module at the moment, even if your intention is to integrate Crashlytics only in your library. If what you only have is the library, there is no reasonable way of doing that, not officially yet at least.
See below for generating the necessary stuff first in the app side and then moving (some of them) towards your library such as the initialization.
When you onboard a kit, Fabric sets up the initialization code inside the base project, not the library. Here's how you'd do it...