Skip to content

Commit

Permalink
v2.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nsagnett committed Jun 28, 2021
2 parents a3cb1b2 + 0edd9b7 commit 180262a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ATMobileAnalytics/Tracker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'jacoco'
apply from: './publish-mavencentral.gradle'

group = 'com.atinternet'
version = '2.21.1'
version = '2.21.2'

android {
compileSdkVersion 30
Expand Down
2 changes: 1 addition & 1 deletion ATMobileAnalytics/Tracker/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publishing {
release(MavenPublication) {
groupId 'com.atinternet'
artifactId 'Tracker'
version '2.21.1'
version '2.21.2'

artifact(project.buildDir.absolutePath + "/outputs/aar/${project.getName()}-release.aar")
artifact androidSourcesJar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ class TechnicalContext {
static final Closure VTAG = new Closure() {
@Override
public String execute() {
return "2.21.1";
return "2.21.2";
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ void setParams() {

Map<String, Object[]> data = Utility.toFlatten(e.getData(), true, PROPERTY_SEPARATOR);

if (data.size() != 0) {
eventsArray.put(new JSONObject()
.put("name", e.getName().toLowerCase())
.put("data", new JSONObject(Utility.toObject(data, PROPERTY_SEPARATOR))));
}
eventsArray.put(new JSONObject()
.put("name", e.getName().toLowerCase())
.put("data", new JSONObject(Utility.toObject(data, PROPERTY_SEPARATOR))));

List<Event> additionalEvents = e.getAdditionalEvents();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ public List<ECommerceProduct> Products() {

@Override
protected Map<String, Object> getData() {
return data;
if (!products.isEmpty()) {
data.put("product", products.remove(0).getProps());
}
return super.getData();
}

@Override
Expand Down

0 comments on commit 180262a

Please sign in to comment.