Skip to content

Commit b7b951a

Browse files
committed
fix: update crash reporting method for non-fatal native crashes
- Modified `sendNativeNonFatal` method to remove the parameter and use a test exception directly.
1 parent d666d9a commit b7b951a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/default/android/app/src/main/java/com/instabug/react/example/RNInstabugExampleCrashReportingModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public String getName() {
2828
}
2929

3030
@ReactMethod
31-
public void sendNativeNonFatal(final String exceptionObject) {
31+
public void sendNativeNonFatal() {
3232
final IBGNonFatalException exception = new IBGNonFatalException.Builder(new IllegalStateException("Test exception"))
3333
.build();
3434
CrashReporting.report(exception);

0 commit comments

Comments
 (0)