Android - Crashlytics, run code during crash

前端 未结 3 1693
北海茫月
北海茫月 2021-01-28 02:30

I had a bad crash case that was caused due to some Asyncs doing stuff in improper order in a SQLite and thing blew up. It took me some time to debug all that and access to the i

3条回答
  •  执笔经年
    2021-01-28 03:02

    As @basu-singh said, you can add context to the crash, see https://docs.fabric.io/android/crashlytics/enhanced-reports.html

    Or you can use your own UncaughtExceptionHandler, and then call Crashlytics. Though your code needs to be extra safe !

提交回复
热议问题