Skip to content

Commit 8a181eb

Browse files
authored
Merge pull request #11 from deltaDNA/release/5.0.2
5.0.2
2 parents fdcfcd6 + b5d05be commit 8a181eb

File tree

11 files changed

+32
-11
lines changed

11 files changed

+32
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [5.0.2](https://github.com/deltaDNA/android-sdk/releases/tag/5.0.2)
4+
5+
## Fixed
6+
- Fixed a Null Pointer Exception that could occur when getting an error response from the GeoAPI endpoint
7+
38
## [5.0.1](https://github.com/deltaDNA/android-sdk/releases/tag/5.0.1)
49

510
## Fixed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ allprojects {
4343
```
4444
在你APP的构建脚本
4545
```groovy
46-
compile 'com.deltadna.android:deltadna-sdk:5.0.1'
46+
compile 'com.deltadna.android:deltadna-sdk:5.0.2'
4747
```
4848

4949
## 初始化

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ allprojects {
4949
In your app's build script:
5050
```groovy
5151
dependencies {
52-
implementation 'com.deltadna.android:deltadna-sdk:5.0.1'
52+
implementation 'com.deltadna.android:deltadna-sdk:5.0.2'
5353
}
5454
```
5555
The Java source and target compatibility needs to be set to 1.8 in you app's build script:

examples/demo-forget-me/src/main/java/com/deltadna/android/sdk/example/ExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void onSuccess(boolean requiresConsent) {
5353

5454
@Override
5555
public void onFailure(Throwable exception) {
56-
Log.e("EXAMPLE", "Failed to check for PIPL consent", exception);
56+
Log.e("EXAMPLE", "Failed to check for PIPL consent " + exception.getMessage(), exception);
5757
// Try again later.
5858
}
5959
});

examples/demo/src/main/java/com/deltadna/android/sdk/example/ExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void onSuccess(boolean requiresConsent) {
5353

5454
@Override
5555
public void onFailure(Throwable exception) {
56-
Log.e("EXAMPLE", "Failed to check for PIPL consent", exception);
56+
Log.e("EXAMPLE", "Failed to check for PIPL consent " + exception.getMessage(), exception);
5757
// Try again later.
5858
}
5959
});

examples/notifications-style/src/main/java/com/deltadna/android/sdk/notifications/example/ExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void onSuccess(boolean requiresConsent) {
4545

4646
@Override
4747
public void onFailure(Throwable exception) {
48-
Log.e("EXAMPLE", "Failed to check for PIPL consent", exception);
48+
Log.e("EXAMPLE", "Failed to check for PIPL consent " + exception.getMessage(), exception);
4949
// Try again later.
5050
}
5151
});

examples/notifications/src/main/java/com/deltadna/android/sdk/notifications/example/ExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void onSuccess(boolean requiresConsent) {
4646

4747
@Override
4848
public void onFailure(Throwable exception) {
49-
Log.e("EXAMPLE", "Failed to check for PIPL consent", exception);
49+
Log.e("EXAMPLE", "Failed to check for PIPL consent " + exception.getMessage(), exception);
5050
// Try again later.
5151
}
5252
});

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.deltadna.android
2-
VERSION_NAME=5.0.1
2+
VERSION_NAME=5.0.2
33

44
POM_DESCRIPTION=deltaDNA SDK for Android
55
POM_URL=https://github.com/deltaDNA/android-sdk

library-notifications/README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ allprojects {
4141
```
4242
在你APP的构建脚本
4343
```groovy
44-
compile 'com.deltadna.android:deltadna-sdk:5.0.1'
45-
compile 'com.deltadna.android:deltadna-sdk-notifications:5.0.1'
44+
compile 'com.deltadna.android:deltadna-sdk:5.0.2'
45+
compile 'com.deltadna.android:deltadna-sdk-notifications:5.0.2'
4646
```
4747

4848
## 整合

library-notifications/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ allprojects {
4646
In your app's build script:
4747
```groovy
4848
dependencies {
49-
implementation 'com.deltadna.android:deltadna-sdk:5.0.1'
50-
implementation 'com.deltadna.android:deltadna-sdk-notifications:5.0.1'
49+
implementation 'com.deltadna.android:deltadna-sdk:5.0.2'
50+
implementation 'com.deltadna.android:deltadna-sdk-notifications:5.0.2'
5151
}
5252
```
5353

0 commit comments

Comments
 (0)