Skip to content

Commit 121f62b

Browse files
committed
release v4.2.6
1 parent 05018a1 commit 121f62b

File tree

5 files changed

+96
-27
lines changed

5 files changed

+96
-27
lines changed

CHANGELOG.md

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

4+
Version 4.2.6 *(2017-07-21)*
5+
----------------------------
6+
* Increase the length of InstabugLog to 10K
7+
* Fix Logs not being sent with created crash report when added in PreSendingRunnable
8+
* Force PreInvocation Runnable to run in the main thread
9+
10+
Version 4.2.5 *(2017-07-16)*
11+
----------------------------
12+
* Fix concurrency issue with logs
13+
* Fix bug happens randomly when sending extra screenshot as first message
14+
15+
Version 4.2.4 *(2017-07-10)*
16+
----------------------------
17+
* Increase file attachments to 10 files
18+
* Increase the length of network logs, instabug logs & user events to 10K
19+
* File attachment can be up to 50 MB
20+
* Increase file attachments to 10 files
21+
22+
Version 4.2.2 *(2017-06-28)*
23+
----------------------------
24+
* Fix issue with intro dialog not shown
25+
* Optimize the user events insertions
26+
27+
Version 4.2.1 *(2017-06-23)*
28+
----------------------------
29+
* fix issue with pro-guard
30+
* Fix in-App chat title in RTL views
31+
* Fix bug with attaching image from gallery
32+
* Fix bug with dragging the magnifier in annotation screen
33+
* Fix wrong email is displayed in email field after deleting it by the user
34+
* Fix an issue with screenshot on Oppo devices
35+
36+
Version 4.2.0 *(2017-06-19)*
37+
----------------------------
38+
* Introducing `Instabug.setPreInvocation()` API to run before invocation event
39+
* Fix for screenshot gesture with Samsung Galaxy S8
40+
* Fix bug with in-app messaging if the first message in conversation is an image
41+
* Fix issue with RTL support
42+
* Fix issue in Surveys with dark theme
43+
44+
Version 4.1.1 *(2017-06-05)*
45+
----------------------------
46+
* Fix for status bar color
47+
* Fix for attachment view in dark theme
48+
49+
Version 4.1.0 *(2017-05-31)*
50+
----------------------------
51+
* Introducing `setRequestedOrientation`, `getRequestedOrientation` and `resetRequestedOrientation` for manually control the orientation of the SDK
52+
* Adjust ImageViews in bug reporting view
53+
* Fix for surveys re-appearing after being answered
54+
* Other minor bug fixes
55+
56+
Version 4.0.10 *(2017-05-09)*
57+
----------------------------
58+
* Fix issue with status bar color
59+
* Fix for Instabug views appearing in screenshots
60+
* Fix “no chat with id” bug
61+
* Other fixes in the core SDK
62+
63+
Version 4.0.8 *(2017-04-24)*
64+
----------------------------
65+
* Bug fixes
66+
467
Version 4.0.7 *(2017-04-13)*
568
----------------------------
669
* Bug fixes

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Using Instabug is as easy as "Get ready, Get set, Go".
2222

2323
Grab via Gradle:
2424
```groovy
25-
compile 'com.instabug.library:instabug:4.0.7'
25+
compile 'com.instabug.library:instabug:4.2.6'
2626
```
2727
2828
or via Maven: (if you're that kind of person :bowtie:)
@@ -31,7 +31,7 @@ Using Instabug is as easy as "Get ready, Get set, Go".
3131
<dependency>
3232
<groupId>com.instabug.library</groupId>
3333
<artifactId>instabug</artifactId>
34-
<version>4.0.7</version>
34+
<version>4.2.6</version>
3535
</dependency>
3636
```
3737
@@ -52,7 +52,7 @@ Using Instabug is as easy as "Get ready, Get set, Go".
5252
}
5353
```
5454
55-
For technical documentation and FAQs check the [wiki][wiki]
55+
For technical documentation check the [API reference][api_reference]
5656
5757
License
5858
=======
@@ -72,7 +72,7 @@ License
7272
limitations under the License.
7373
7474
75-
[1]: https://instabug.com/sdk-integration#android
75+
[1]: https://docs.instabug.com/docs/android-integration
7676
[2]: https://instabug.com/
77-
[wiki]: https://github.com/Instabug/android-sample/wiki
77+
[api_reference]: https://github.com/Instabug/android-sample/wiki
7878

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies {
6060
// TODO add the following 2 lines if you exclude io.reactivex from Instabug
6161
// compile 'io.reactivex:rxjava:1.0.13'
6262
// compile 'io.reactivex:rxandroid:1.0.1'
63-
compile('com.instabug.library:instabug:4.0.7') {
63+
compile('com.instabug.library:instabug:4.2.6') {
6464
// TODO uncomment this line to exclude RxJava from Instabug and use your own version
6565
// exclude group: 'io.reactivex'
6666

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

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,37 @@
66
import com.instabug.library.Instabug;
77
import com.instabug.library.InstabugColorTheme;
88
import com.instabug.library.InstabugCustomTextPlaceHolder;
9+
import com.instabug.library.bugreporting.model.ReportCategory;
910
import com.instabug.library.internal.module.InstabugLocale;
1011
import com.instabug.library.invocation.InstabugInvocationEvent;
11-
import com.instabug.library.model.BugCategory;
1212

1313
import java.util.ArrayList;
1414
import java.util.Locale;
1515

16-
/**
17-
* @author mSobhy
18-
*/
16+
1917
public class SampleApplication extends Application {
2018
@Override
2119
public void onCreate() {
2220
super.onCreate();
2321
MultiDex.install(this);
22+
23+
//initialing instabug
2424
new Instabug.Builder(this, "f501f761142981d54b1fdea93963a934")
25-
.setEmailFieldRequired(false)
26-
.setFloatingButtonOffsetFromTop(400)
27-
.setTheme(InstabugColorTheme.InstabugColorThemeLight)
28-
.setIntroMessageEnabled(false)
2925
.setInvocationEvent(InstabugInvocationEvent.SHAKE)
30-
.setAttachmentTypesEnabled(true, true, true, true, true)
31-
// TODO the following are 3 acceptable ways to force Locale in Instabug (last one is the only 1 applied)
32-
.setLocale(new Locale(InstabugLocale.SIMPLIFIED_CHINESE.getCode(), InstabugLocale.SIMPLIFIED_CHINESE.getCountry()))
33-
.setLocale(new Locale(InstabugLocale.FRENCH.getCode()))
34-
.setLocale(Locale.GERMAN)
3526
.build();
3627

28+
//adding some customizations
29+
Instabug.setEmailFieldRequired(false);
30+
Instabug.setFloatingButtonOffsetFromTop(400);
31+
Instabug.setTheme(InstabugColorTheme.InstabugColorThemeLight);
32+
Instabug.setAttachmentTypesEnabled(true, true, true, true, true);
33+
Instabug.setIntroMessageEnabled(false);
34+
35+
// TODO the following are 3 acceptable ways to force Locale in Instabug (last one
36+
Instabug.setLocale(new Locale(InstabugLocale.SIMPLIFIED_CHINESE.getCode(), InstabugLocale
37+
.SIMPLIFIED_CHINESE.getCountry()));
38+
Instabug.setLocale(new Locale(InstabugLocale.FRENCH.getCode()));
39+
Instabug.setLocale(Locale.GERMAN);
3740
Instabug.setDebugEnabled(true);
3841

3942
//Settings custom strings to replace instabug's strings
@@ -43,16 +46,19 @@ public void onCreate() {
4346

4447
Instabug.setCustomTextPlaceHolders(placeHolder);
4548

46-
ArrayList<BugCategory> bugCategories = new ArrayList<>();
47-
bugCategories.add(
48-
BugCategory.getInstance().withLabel("Map").withIcon(android.R.drawable.ic_dialog_map));
49-
bugCategories.add(BugCategory.getInstance()
49+
//Setting report categories
50+
ArrayList<ReportCategory> reportCategories = new ArrayList<>();
51+
reportCategories.add(
52+
ReportCategory.getInstance().withLabel("Map").withIcon(android.R.drawable
53+
.ic_dialog_map));
54+
reportCategories.add(ReportCategory.getInstance()
5055
.withLabel("Alert")
5156
.withIcon(android.R.drawable.ic_dialog_alert));
52-
bugCategories.add(
53-
BugCategory.getInstance().withLabel("Mail").withIcon(android.R.drawable.ic_dialog_email));
57+
reportCategories.add(
58+
ReportCategory.getInstance().withLabel("Mail").withIcon(android.R.drawable
59+
.ic_dialog_email));
5460

55-
Instabug.setBugCategories(bugCategories);
61+
Instabug.setReportCategories(reportCategories);
5662

5763
//setting user attributes
5864
Instabug.setUserAttribute("USER_TYPE", "instabug user");

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.3.0'
8+
classpath 'com.android.tools.build:gradle:2.3.3'
99
}
1010
}
1111

0 commit comments

Comments
 (0)