Skip to content

Commit

Permalink
v1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftyAlex committed Jan 17, 2023
1 parent e63386a commit 7381280
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 1.15.0
### Added
- You can use `clearUserSession` to remove the users attributes, and clear their ID.

### Changes
- `UnflowAnalyticsListener` has a new required function to accept updates for attributes.

### Fixes
- If you provide a push notification to us, we'll not show the resulting pop up if the SDK is paused. It will only show when you call resume.

## 1.14.2
### Changes
- We've continued to improve the images on articles, specifically on smaller devices.
Expand Down
2 changes: 1 addition & 1 deletion samples/unflow-compose/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
}

dependencies {
implementation("com.unflow:unflow-ui:1.14.2")
implementation("com.unflow:unflow-ui:1.15.0")

implementation("androidx.compose.ui:ui:${rootProject.extra["compose_version"]}")
implementation("androidx.compose.material:material:${rootProject.extra["compose_version"]}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ class UnflowComposeApplication : Application() {
// Do something with the events. e.g. Send to your existing analytics tool
Log.d("Unflow-Analytics", "$event")
}

override fun onAttributesUpdate(attributes: Map<String, Any?>) {
// Do something with these, i.e store in your local database
attributes.forEach {
Log.d("Unflow-Analytics", "${it.key} ${it.value}")
}
}
}

val unflow = UnflowSdk.initialize(
Expand Down
2 changes: 1 addition & 1 deletion samples/unflow-java/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
}

dependencies {
implementation 'com.unflow:unflow-ui:1.14.2'
implementation 'com.unflow:unflow-ui:1.15.0'

implementation 'com.github.bumptech.glide:glide:4.13.2'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'
Expand Down
2 changes: 1 addition & 1 deletion samples/unflow-sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
}

dependencies {
implementation 'com.unflow:unflow-ui:1.14.2'
implementation 'com.unflow:unflow-ui:1.15.0'

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ class UnflowApplication : Application() {
// Do something with the events. e.g. Send to your existing analytics tool
Log.d("Unflow-Analytics", "$event")
}
override fun onAttributesUpdate(attributes: Map<String, Any?>) {
// Do something with these, like store them in your app
attributes.forEach {
Log.d("Unflow-Analytics", "${it.key} ${it.value}")
}
}
}

val unflow = UnflowSdk.initialize(
Expand Down

0 comments on commit 7381280

Please sign in to comment.