Skip to content

Commit 59341c4

Browse files
committed
add Description for nativeCrash
1 parent 980d9bd commit 59341c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flutter/lib/src/sentry_flutter.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ mixin SentryFlutter {
273273

274274
static SentryNativeBinding? _native;
275275

276+
/// Use `nativeCrash()` to crash the native implementation and test/debug the crash reporting for native code.
277+
/// This should not be used in production code.
278+
/// Only for Android and iOS
276279
static Future<void> nativeCrash() {
277280
if (_native == null) {
278281
_logNativeIntegrationNotAvailable("nativeCrash");

0 commit comments

Comments
 (0)