mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2026-08-27 12:11:17 +00:00
📝 Code refactor
This commit is contained in:
@@ -34,7 +34,7 @@ export default class App extends Component<{}> {
|
||||
switchValue: false,
|
||||
colorTheme: 'Dark'
|
||||
};
|
||||
Instabug.startWithToken("8020a1fab5139a4be54038a9728c4dc8", Instabug.invocationEvent.shake);
|
||||
Instabug.startWithToken("APP_TOKEN", Instabug.invocationEvent.shake);
|
||||
Instabug.setReportCategories("Performance","UI","Flow","Other");
|
||||
Instabug.setPromptOptionsEnabled(true, true, true);
|
||||
Instabug.setLocale(Instabug.locale.english);
|
||||
|
||||
@@ -26,7 +26,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
new MainReactPackage(),
|
||||
new RNInstabugReactnativePackage.Builder("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this)
|
||||
.setInvocationEvent("shake")
|
||||
.setPrimaryColor("#1D82DC")
|
||||
.setPrimaryColor("#1D82DC")
|
||||
.setFloatingEdge("left")
|
||||
.setFloatingButtonOffsetFromTop(250)
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user