i don't think it's possible to add crashlytic itself to the library since app package is needed .
so a workaround would be to catch all exceptions that are thrown within your library code and send them to you backend you can also do the same if you want to track users count.