Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #26 from caffeinalab/hotfix/customDimensions-prope…
Browse files Browse the repository at this point in the history
…rty-name

Fixed "customDimensions" property name in the Android module.
  • Loading branch information
benbahrenburg committed Apr 3, 2018
2 parents 8b4cc17 + 971a590 commit 5ba040a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions android/src/ti/ga/TrackerProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void clearUserID()

@Kroll.method
public void startSession(){
// Start a new session with the hit.
// Start a new session with the hit.
_tracker.send(new HitBuilders.AppViewBuilder()
.setNewSession()
.build());
Expand Down Expand Up @@ -217,7 +217,7 @@ public void setCustomMetric(int idx, Float value) {
};

if (props != null) {
handleCustomDimensions(builderWrapper, props.get("customDimension"));
handleCustomDimensions(builderWrapper, props.get("customDimensions"));
handleCustomMetrics(builderWrapper, props.get("customMetrics"));
}

Expand Down Expand Up @@ -254,7 +254,7 @@ public void setCustomMetric(int idx, Float value) {
}
};

handleCustomDimensions(builderWrapper, props.get("customDimension"));
handleCustomDimensions(builderWrapper, props.get("customDimensions"));
handleCustomMetrics(builderWrapper, props.get("customMetrics"));

_tracker.send(hitBuilder.build());
Expand Down Expand Up @@ -293,7 +293,7 @@ public void setCustomMetric(int idx, Float value) {
}
};

handleCustomDimensions(builderWrapper, props.get("customDimension"));
handleCustomDimensions(builderWrapper, props.get("customDimensions"));
handleCustomMetrics(builderWrapper, props.get("customMetrics"));

// Build and send timing.
Expand Down Expand Up @@ -348,7 +348,7 @@ public void setCustomMetric(int idx, Float value) {
}
};

handleCustomDimensions(builderWrapper, props.get("customDimension"));
handleCustomDimensions(builderWrapper, props.get("customDimensions"));
handleCustomMetrics(builderWrapper, props.get("customMetrics"));

// Build and send social interaction.
Expand Down

0 comments on commit 5ba040a

Please sign in to comment.