Skip to content

Commit 75bb4e2

Browse files
committed
Use v2.6.0
1 parent 7fe51d9 commit 75bb4e2

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Change Log
22
==========
33

4+
Version 2.6.0 *(2016-08-03)*
5+
----------------------------
6+
7+
* Add `Instabug.invokeConversations()`
8+
* Add `IBGCustomTextPlaceHolder` & `Instabug.setCustomTextPlaceHolders(IBGCustomTextPlaceHolder ibgPlaceHolders)` for replacing instabug strings with custom strings.
9+
410
Version 2.5.1 *(2016-07-11)*
511
----------------------------
612

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,38 @@ Using Instabug is as easy as "Get ready, Get set, Go".
2828

2929
Grab your desired flavour via Gradle:
3030
```groovy
31-
compile 'com.instabug.library:instabug:2.5.1'
31+
compile 'com.instabug.library:instabug:2.6.0'
3232
```
3333
or
3434
```groovy
35-
compile 'com.instabug.library:instabugcompat:2.5.1'
35+
compile 'com.instabug.library:instabugcompat:2.6.0'
3636
```
3737
or
3838
```groovy
39-
compile 'com.instabug.library:instabugabs:2.5.1'
39+
compile 'com.instabug.library:instabugabs:2.6.0'
4040
```
4141
or via Maven: (if you're that kind of person :bowtie:)
4242
```xml
4343
<dependency>
4444
<groupId>com.instabug.library</groupId>
4545
<artifactId>instabug</artifactId>
46-
<version>2.5.1</version>
46+
<version>2.6.0</version>
4747
</dependency>
4848
```
4949
or
5050
```xml
5151
<dependency>
5252
<groupId>com.instabug.library</groupId>
5353
<artifactId>instabugcompat</artifactId>
54-
<version>2.5.1</version>
54+
<version>2.6.0</version>
5555
</dependency>
5656
```
5757
or
5858
```xml
5959
<dependency>
6060
<groupId>com.instabug.library</groupId>
6161
<artifactId>instabugabs</artifactId>
62-
<version>2.5.1</version>
62+
<version>2.6.0</version>
6363
</dependency>
6464
```
6565

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
// TODO add the following 2 lines if you exclude io.reactivex from Instabug
4141
// compile 'io.reactivex:rxjava:1.0.13'
4242
// compile 'io.reactivex:rxandroid:1.0.1'
43-
compile('com.instabug.library:instabug:2.5.1') {
43+
compile('com.instabug.library:instabug:2.6.0') {
4444
// TODO uncomment this line to exclude RxJava from Instabug and use your own version
4545
// exclude group: 'io.reactivex'
4646

app/src/main/java/com/example/instabug/SampleApplication.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
import android.support.multidex.MultiDex;
55

66
import com.instabug.library.IBGColorTheme;
7+
import com.instabug.library.IBGCustomTextPlaceHolder;
78
import com.instabug.library.IBGInvocationEvent;
89
import com.instabug.library.Instabug;
910
import com.instabug.library.internal.module.InstabugLocale;
1011

12+
import java.security.KeyFactory;
1113
import java.util.Locale;
1214

1315
/**
@@ -30,5 +32,12 @@ public void onCreate() {
3032
.setLocale(new Locale(InstabugLocale.FRENCH.getCode()))
3133
.setLocale(Locale.GERMAN)
3234
.build();
35+
36+
//Settings custom strings to replace instabug's strings
37+
IBGCustomTextPlaceHolder placeHolder = new IBGCustomTextPlaceHolder();
38+
placeHolder.set(IBGCustomTextPlaceHolder.Key.REPORT_FEEDBACK, "Send Feedback");
39+
placeHolder.set(IBGCustomTextPlaceHolder.Key.REPORT_BUG, "Send Bug Report");
40+
41+
Instabug.setCustomTextPlaceHolders(placeHolder);
3342
}
3443
}

0 commit comments

Comments
 (0)