Skip to content

Commit 42603dd

Browse files
author
niklasfessler
committed
Merge remote-tracking branch 'origin/master'
2 parents 8b50962 + 4551e48 commit 42603dd

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,16 @@ protected void onCreate(Bundle savedInstanceState) {
3636
BugBattle.initialise("apikey", BugBattleActivationMethod.SHAKE, this);
3737
}
3838
```
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 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:
4040
```
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+
5049
```
5150
The following method starts the flow, which is also invoked by the shake gesture. To start the flow use this method:
5251
```

0 commit comments

Comments
 (0)