Skip to content

Commit

Permalink
Urgent patch
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoserranoa committed Mar 1, 2021
1 parent a9394d3 commit 250df8d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.2 (2021-03-01)

- Fix currentEvent being null and crashing app

## 2.18.1 (2020-12-16)

- Fix memory leaks
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ If you use Maven, you can include this library as a dependency:
<dependency>
<groupId>com.wootric</groupId>
<artifactId>wootric-sdk-android</artifactId>
<version>2.18.1</version>
<version>2.18.2</version>
</dependency>
```

### Using Gradle

```xml
implementation 'com.wootric:wootric-sdk-android:2.18.1'
implementation 'com.wootric:wootric-sdk-android:2.18.2'
```

## Initializing Wootric
Expand Down
4 changes: 2 additions & 2 deletions androidsdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=2.18.1
VERSION_CODE=2181
VERSION_NAME=2.18.2
VERSION_CODE=2182
GROUP=com.wootric

POM_DESCRIPTION=WootricSDK Android
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ public void run() {

@SuppressLint("ResourceType")
private void showSurveyFragment() {
Activity activity = currentEvent.getActivity();
FragmentActivity fragmentActivity = currentEvent.getFragmentActivity();
try {
Activity activity = currentEvent.getActivity();
FragmentActivity fragmentActivity = currentEvent.getFragmentActivity();
if (fragmentActivity != null) {
FragmentManager fragmentActivityManager = fragmentActivity.getSupportFragmentManager();

Expand Down

0 comments on commit 250df8d

Please sign in to comment.