📝 Code refactor
This commit is contained in:
parent
82a05aef86
commit
89d9f18ccb
|
@ -34,7 +34,7 @@ export default class App extends Component<{}> {
|
||||||
switchValue: false,
|
switchValue: false,
|
||||||
colorTheme: 'Dark'
|
colorTheme: 'Dark'
|
||||||
};
|
};
|
||||||
Instabug.startWithToken("8020a1fab5139a4be54038a9728c4dc8", Instabug.invocationEvent.shake);
|
Instabug.startWithToken("APP_TOKEN", Instabug.invocationEvent.shake);
|
||||||
Instabug.setReportCategories("Performance","UI","Flow","Other");
|
Instabug.setReportCategories("Performance","UI","Flow","Other");
|
||||||
Instabug.setPromptOptionsEnabled(true, true, true);
|
Instabug.setPromptOptionsEnabled(true, true, true);
|
||||||
Instabug.setLocale(Instabug.locale.english);
|
Instabug.setLocale(Instabug.locale.english);
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||||
new MainReactPackage(),
|
new MainReactPackage(),
|
||||||
new RNInstabugReactnativePackage.Builder("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this)
|
new RNInstabugReactnativePackage.Builder("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this)
|
||||||
.setInvocationEvent("shake")
|
.setInvocationEvent("shake")
|
||||||
.setPrimaryColor("#1D82DC")
|
.setPrimaryColor("#1D82DC")
|
||||||
.setFloatingEdge("left")
|
.setFloatingEdge("left")
|
||||||
.setFloatingButtonOffsetFromTop(250)
|
.setFloatingButtonOffsetFromTop(250)
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in New Issue