For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Luciq Crash Reporting can be disabled with the following method. This will completely prevent any crash report from being sent to your dashboard.

Dart
CrashReporting.setEnabled(false);

NDK Crashes

If your Flutter app uses C++ libraries or NDK code, the Luciq SDK can capture native crashes that occur at the C++ level.

Adding the NDK Dependency

Add the NDK crash reporting dependency to your Android app-level build.gradle:

Gradle
dependencies {
    implementation 'com.luciq.library:luciq-ndk-crash:+'
}

Enabling NDK Crash Reporting

NDK crash reporting is disabled by default. Enable it after SDK initialization:

Dart
CrashReporting.setNDKCrashesEnabled(true);

Deobfuscation

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.

Requirements

  • 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