Skip to content

Commit e60cd23

Browse files
committed
Release 4.8.1
1 parent a8c20db commit e60cd23

File tree

8 files changed

+175
-170
lines changed

8 files changed

+175
-170
lines changed

CHANGELOG.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,49 @@
11
Change Log
22
==========
33

4-
Version 4.3.2 *(2017-10-24)*
4+
Version 4.8.1 *(2018-01-10)*
5+
----------------------------
6+
* Fix bug with setAttachmentTypesEnabled API
7+
* Fix bug when closing prompt options fragment
8+
9+
Version 4.8.0 *(2018-01-07)*
10+
----------------------------
11+
* Introduce NPS surveys
12+
* Fix issue with survey's submit button
13+
14+
Version 4.7.0 *(2018-01-01)*
515
----------------------------
6-
* Upgrade gradle version to 3.0
16+
* Opt in surveys
17+
* Remove audio attachments
18+
* Various bug fixes
19+
20+
Version 4.6.1 *(2018-10-26)*
21+
----------------------------
22+
* Fix build fail with enabled proguard
23+
24+
Version 4.6.0 *(2017-12-24)*
25+
----------------------------
26+
* Multiple Questions and Star Rating surveys
27+
* Fix bug with Instabug when migrating to a new version from a disabled one
28+
* Removing non-translatable strings to fix warnings while building APKs
29+
30+
Version 4.5.0 *(2017-12-10)*
31+
----------------------------
32+
* Enhance shape detection in annotation view
33+
* Fix orientation issue with android 27
34+
* Various bug fixes
35+
36+
Version 4.3.3 *(2017-10-30)*
37+
----------------------------
38+
* upgrade gradle version to 3.0
739
* Fix NPE when invoking instabug
840

41+
Version 4.3.2 *(2017-10-24)*
42+
----------------------------
43+
* Fix issue in which user had to send application to background and back to foreground to enable invocation with event after enabling it in runtime.
44+
* Fix an issue in which user events are not sent with PreSendingHandler.
45+
* Fix other bugs and crashes.
46+
947
Version 4.3.0 *(2017-09-22)*
1048
----------------------------
1149
* Fix issue in which user had to send application to background and back to foreground to enable invocation with event after enabling it in runtime.

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,11 @@ Usage
99
--------
1010
Using Instabug is as easy as "Get ready, Get set, Go".
1111

12-
1. <b>Determining which Instabug flavour to use</b> (Getting ready)
13-
* If your `minSdkVersion` is `14+`:
14-
15-
Check `Above14` flavour
16-
17-
* If your `minSdkVersion` is `10+`:
18-
19-
Check `belowApi14` flavour
20-
2112
1. <b>Adding Instabug to your dependencies</b> (Getting set)
2213

2314
Grab via Gradle:
2415
```groovy
25-
compile 'com.instabug.library:instabug:4.2.6'
16+
implementation 'com.instabug.library:instabug:4.8.1'
2617
```
2718
2819
or via Maven: (if you're that kind of person :bowtie:)
@@ -31,7 +22,7 @@ Using Instabug is as easy as "Get ready, Get set, Go".
3122
<dependency>
3223
<groupId>com.instabug.library</groupId>
3324
<artifactId>instabug</artifactId>
34-
<version>4.2.6</version>
25+
<version>4.8.1</version>
3526
</dependency>
3627
```
3728

app/build.gradle

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ android {
2525
}
2626
}
2727

28-
productFlavors {
29-
aboveApi14{
30-
minSdkVersion 15
31-
applicationId "com.example.instabug.above4"
32-
versionName "1.0-aboveApi14"
33-
dimension "default"
34-
35-
}
36-
belowApi14 {
37-
minSdkVersion 10
38-
applicationId "com.example.instabug.below14"
39-
versionName "1.0-belowApi14"
40-
dimension "default"
41-
}
42-
}
43-
4428
dexOptions {
4529
javaMaxHeapSize "4g"
4630
}
@@ -56,16 +40,16 @@ repositories {
5640

5741

5842
dependencies {
59-
compile fileTree(dir: 'libs', include: ['*.jar'])
60-
compile 'com.android.support:multidex:1.0.2'
61-
compile 'com.android.support:design:26.0.2'
62-
compile 'com.android.support:appcompat-v7:26.0.2'
43+
implementation fileTree(dir: 'libs', include: ['*.jar'])
44+
implementation 'com.android.support:multidex:1.0.2'
45+
implementation 'com.android.support:design:26.0.2'
46+
implementation 'com.android.support:appcompat-v7:26.0.2'
6347
// TODO if you use a lower version than 9.0.0 (min is 7.5.0) you should uncomment the exclude line to avoid errors
64-
compile 'com.google.android.gms:play-services:11.4.2'
48+
implementation 'com.google.android.gms:play-services:11.4.2'
6549
// TODO add the following 2 lines if you exclude io.reactivex from Instabug
66-
// compile 'io.reactivex:rxjava:1.0.13'
67-
// compile 'io.reactivex:rxandroid:1.0.1'
68-
compile('com.instabug.library:instabug:4.3.3') {
50+
// implementation 'io.reactivex:rxjava:1.0.13'
51+
// implementation 'io.reactivex:rxandroid:1.0.1'
52+
implementation('com.instabug.library:instabug:4.8.1') {
6953
// TODO uncomment this line to exclude RxJava from Instabug and use your own version
7054
// exclude group: 'io.reactivex'
7155

app/src/belowApi14/java/com/example/instabug/BaseActivity.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

app/src/main/java/com/example/instabug/ui/activities/MainActivity.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,31 @@ public void onNewMessageCountClicked(View view) {
140140
.show();
141141
}
142142

143+
public void onSendHandledExceptionClicked(View view) {
144+
new AlertDialog.Builder(MainActivity.this)
145+
.setMessage("Do you want to report a handled NullPointerException")
146+
.setPositiveButton("Why not?", new DialogInterface.OnClickListener() {
147+
@Override
148+
public void onClick(DialogInterface dialog, int which) {
149+
Instabug.reportException(new NullPointerException(), "Handled Exception");
150+
}
151+
}).show();
152+
}
153+
154+
public void onCrashTheAppClicked(View view) {
155+
new AlertDialog.Builder(MainActivity.this)
156+
.setMessage("Are you sure that want to crash the app?")
157+
.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
158+
@Override
159+
public void onClick(DialogInterface dialog, int which) {
160+
int[] arrayOfIntegers = new int[]{0, 1, 2, 3};
161+
int i = arrayOfIntegers[5];
162+
}
163+
})
164+
.setNegativeButton("No", null)
165+
.show();
166+
}
167+
143168
public void onDoNetworkRequestClicked(View view) {
144169
new FetchMoviesData().execute();
145170
}

0 commit comments

Comments
 (0)