mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-02 14:10:40 +00:00
📝 Disable crash reporting by default
This commit is contained in:
parent
f518b1fe2c
commit
7af99f00d4
@ -7,6 +7,7 @@ import com.facebook.react.bridge.JavaScriptModule;
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.uimanager.ViewManager;
|
||||
import com.instabug.library.Feature;
|
||||
import com.instabug.library.Instabug;
|
||||
import com.instabug.library.InstabugColorTheme;
|
||||
import com.instabug.library.invocation.InstabugInvocationEvent;
|
||||
@ -54,6 +55,7 @@ public class RNInstabugReactnativePackage implements ReactPackage {
|
||||
|
||||
mInstabug = new Instabug.Builder(this.androidApplication, this.mAndroidApplicationToken)
|
||||
.setInvocationEvent(this.invocationEvent)
|
||||
.setCrashReportingState(Feature.State.DISABLED)
|
||||
.build();
|
||||
|
||||
Instabug.setPrimaryColor(Color.parseColor(primaryColor));
|
||||
@ -142,4 +144,4 @@ public class RNInstabugReactnativePackage implements ReactPackage {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user