Disabling/Enabling Crash Reporting
Disable or enable Luciq crash reporting in your Flutter app, and add the NDK dependency so native C++ crashes are captured on the Android side.
Last updated
Disable or enable Luciq crash reporting in your Flutter app, and add the NDK dependency so native C++ crashes are captured on the Android side.
Luciq Crash Reporting can be disabled with the following method. This will completely prevent any crash report from being sent to your dashboard.
CrashReporting.setEnabled(false);If your Flutter app uses C++ libraries or NDK code, the Luciq SDK can capture native crashes that occur at the C++ level.
Add the NDK crash reporting dependency to your Android app-level build.gradle:
dependencies {
implementation 'com.luciq.library:luciq-ndk-crash:+'
}NDK crash reporting is disabled by default. Enable it after SDK initialization:
CrashReporting.setNDKCrashesEnabled(true);Native crash stack traces require symbol files for readability. Upload your .so files to deobfuscate NDK crashes. See the Android NDK deobfuscation guide for details.
Android API level 21+
Crash reporting must be enabled
Note: If NDK crashes aren't appearing after setup, contact support to verify the feature is enabled for your app.
Last updated