Skip to content

Commit ec0a963

Browse files
author
niklasfessler
committed
updated lng
1 parent 950fe74 commit ec0a963

File tree

21 files changed

+67
-29
lines changed

21 files changed

+67
-29
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:roundIcon="@mipmap/ic_launcher_round"
1111
android:supportsRtl="true"
1212
android:theme="@style/AppTheme">
13-
<activity android:name=".MainActivity2"></activity>
13+
<activity android:name=".MainActivity2"/>
1414
<activity
1515
android:name=".MainActivity"
1616
android:theme="@style/Theme.AppCompat.NoActionBar">

app/src/main/java/bugbattle/io/bugbattle_android_sdk/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package bugbattle.io.bugbattle_android_sdk;
22

3-
import android.content.Intent;
43
import android.os.Bundle;
54
import android.support.v7.app.AppCompatActivity;
65
import android.view.View;
@@ -16,6 +15,7 @@ protected void onCreate(Bundle savedInstanceState) {
1615
super.onCreate(savedInstanceState);
1716
setContentView(R.layout.activity_main);
1817
Button button = findViewById(R.id.button);
18+
1919
button.setOnClickListener(new View.OnClickListener() {
2020
@Override
2121
public void onClick(View v) {

app/src/main/java/bugbattle/io/bugbattle_android_sdk/MainApplication.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ public class MainApplication extends Application {
1111
public void onCreate() {
1212
super.onCreate();
1313
BugBattleActivationMethod[] detectorList = {BugBattleActivationMethod.SHAKE, BugBattleActivationMethod.SCREENSHOT, BugBattleActivationMethod.THREE_FINGER_DOUBLE_TAB};
14-
BugBattle.initialise("U1FeTUrxnzbtB8ebJj2unNweR6pzgIWg", detectorList, this);
15-
BugBattle.enableReplay();
14+
15+
BugBattle.initialise("YOUR_APK_KEY", detectorList, this);
16+
BugBattle.setLanguage("deee");
17+
BugBattle.setPrivacyPolicyUrl("TESTURL.com");
18+
BugBattle.enablePrivacyPolicy(true);
19+
BugBattle.enableReplay();
1620
}
1721
}

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
android:id="@+id/button"
2323
android:layout_width="wrap_content"
2424
android:layout_height="wrap_content"
25-
android:text="Button"
25+
android:text="@string/btn_text"
2626
tools:layout_editor_absoluteX="174dp"
2727
tools:layout_editor_absoluteY="246dp" />
2828

app/src/main/res/layout/activity_main2.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
android:layout_width="wrap_content"
1212
android:layout_height="wrap_content"
1313
android:text="Button"
14-
tools:layout_editor_absoluteX="75dp"
15-
tools:layout_editor_absoluteY="100dp" />
14+
app:layout_constraintEnd_toEndOf="parent"
15+
app:layout_constraintStart_toStartOf="parent"
16+
app:layout_constraintTop_toTopOf="parent" />
1617
</android.support.constraint.ConstraintLayout>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="btn_text">Report FRENCH</string>
4+
</resources>

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<resources>
22
<string name="app_name">BugBattle-Android-SDK</string>
3+
<string name="btn_text">Report DEFAULT</string>
34
<string name="logo">logo</string>
45
<string name="title_activity_main2">MainActivity</string>
56
<!-- Strings used for fragments for navigation -->

bugbattle/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ext {
1313
siteUrl = 'https://github.com/BugBattle/Android-SDK'
1414
gitUrl = 'https://github.com/BugBattle/Android-SDK.git'
1515

16-
libraryVersion = '3.1.1'
16+
libraryVersion = '3.1.5'
1717

1818
developerId = 'BugBattle GmbH'
1919
developerName = 'BugBattle'
@@ -36,6 +36,9 @@ buildscript {
3636

3737
android {
3838

39+
lintOptions {
40+
abortOnError false
41+
}
3942
compileSdkVersion 28
4043

4144
defaultConfig {

bugbattle/src/androidTest/java/bugbattle/io/bugbattle/ExampleInstrumentedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.junit.Test;
88
import org.junit.runner.RunWith;
99

10-
import static org.junit.Assert.*;
10+
import static org.junit.Assert.assertEquals;
1111

1212
/**
1313
* Instrumented test, which will execute on an Android device.

0 commit comments

Comments
 (0)