I have implemented a library module and publish the library. Developer can incoporate it via gradle dependency I have given to him.
My Question is when I somehow configured crash reporting (via third party library) by obtaining the Application
class's instance in my library, I will also have the crash reports of that android client application.
I just want to have crash reports only for my library's module/package.
I have searched it on Google and found a similar Duplicate Question already asked but un-answered yet. Thats why I am asking it again.
I don't know any library that could help you. A possible solution would be for you to have a global exception handler (like the one explained here ) in your library which sends the exceptions using retrofit / okhttp / whatever you prefer to an api/service you set up.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.