You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the initialise method to your main activity . Your API key can be found in the project settings within BugBattle. The second parameter is, how the bug report flow is started. There are two ways to activate the flow. The first option is to activate the flow by shaking the device.
39
+
Add the initialise method to your main activity . Your API key can be found in the project settings within BugBattle. The second parameter is, how the bug report flow is started. There are several activation methodes:
40
40
```
41
-
BugBattleActivationMethod.SHAKE
42
-
```
43
-
The second approach is to invoke the following method. This method can be used if the following activation method is passed.
44
-
```
45
-
BugBattleActivationMethod.NONE
46
-
```
47
-
The third version is a double tap with three fingers. It can be used, if the shake gesture is already in use.
48
-
```
49
-
BugBattleActivationMethod.THREE_FINGER_DOUBLE_TAB
41
+
BugBattleActivationMethod.SHAKE // Shake the phone to activate
42
+
43
+
BugBattleActivationMethod.NONE // disable gesture
44
+
45
+
BugBattleActivationMethod.THREE_FINGER_DOUBLE_TAB // double tap with three fingers to activate
46
+
47
+
BugBattleActivationMethod.SCREENSHOT // open bugbattle on physically create screenshot
48
+
50
49
```
51
50
The following method starts the flow, which is also invoked by the shake gesture. To start the flow use this method:
0 commit comments