kiwi-bop / flutter_crashlytics

:package: Flutter plugin for Crashlytics integration
BSD 2-Clause "Simplified" License
194 stars 46 forks source link

Add crashlytics-ndk support #62

Closed GreenAppers closed 5 years ago

GreenAppers commented 5 years ago

I'm getting a SIGSEGV in libflutter.so that flutter_crashlytics doesn't catch.

All that's needed to also catch Android native crashes is to add the gradle dependency com.crashlytics.sdk.android:crashlytics-ndk

And then import com.crashlytics.android.ndk.CrashlyticsNdk, and call Fabric.with(context, Crashlytics(), CrashlyticsNdk())

For now I'll fork flutter_crashlytics and add it myself. Hopefully resulting in fixing whatever bug is causing a native crash.

GreenAppers commented 5 years ago

Created https://github.com/kiwi-bop/flutter_crashlytics/pull/63 for discussion.