Skip to content

Commit 80fbd4b

Browse files
Fix Application Context
1 parent 486acb4 commit 80fbd4b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ public void startInstabugWithTokenForAndroid(String androidApplicationToken)
4444
{
4545
this.mAndroidApplicationToken = androidApplicationToken;
4646

47-
mInstagbug = new Instabug.Builder(androidApplication, mAndroidApplicationToken)
48-
.setDebugEnabled(true)
49-
.setEmailFieldRequired(false)
50-
.setFloatingButtonOffsetFromTop(400)
51-
.setColorTheme(InstabugColorTheme.InstabugColorThemeLight)
52-
.setInvocationEvent(InstabugInvocationEvent.FLOATING_BUTTON)
53-
.setShouldShowIntroDialog(false)
54-
.build();
47+
mInstabug = new Instabug.Builder(androidApplication, mAndroidApplicationToken)
48+
.setEmailFieldRequired(false)
49+
.setFloatingButtonOffsetFromTop(400)
50+
.setTheme(InstabugColorTheme.InstabugColorThemeLight)
51+
.setInvocationEvent(InstabugInvocationEvent.FLOATING_BUTTON)
52+
.setIntroMessageEnabled(false)
53+
.build();
5554
}
5655

5756
/**

0 commit comments

Comments
 (0)