Skip to content

Commit

Permalink
Release 1.6.27
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhzh committed Nov 22, 2016
1 parent 234df7d commit df7bdf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SensorsAnalyticsSDK/SensorsAnalyticsSDK/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

version = "1.6.26"
version = "1.6.27"

android {
compileSdkVersion 21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1140,9 +1140,6 @@ private void trackEvent(EventType eventType, String eventName, JSONObject proper
sendProperties.put("event_duration", eventTimer.duration());
}

//是否首日访问
sendProperties.put("$is_first_day", isFirstDay());

JSONObject libProperties = new JSONObject();
libProperties.put("$lib", "Android");
libProperties.put("$lib_version", VERSION);
Expand All @@ -1165,6 +1162,8 @@ private void trackEvent(EventType eventType, String eventName, JSONObject proper

if (eventType == EventType.TRACK) {
dataObj.put("event", eventName);
//是否首日访问
sendProperties.put("$is_first_day", isFirstDay());
} else if (eventType == EventType.TRACK_SIGNUP) {
dataObj.put("event", eventName);
dataObj.put("original_id", originalDistinctId);
Expand Down Expand Up @@ -1640,7 +1639,7 @@ private static void mergeJSONObject(final JSONObject source, JSONObject dest)
static final int VTRACK_SUPPORTED_MIN_API = 16;

// SDK版本
static final String VERSION = "1.6.26";
static final String VERSION = "1.6.27";

static Boolean ENABLE_LOG = false;

Expand Down

0 comments on commit df7bdf9

Please sign in to comment.