Skip to content

Commit 4285d4a

Browse files
committed
- Add new iPhone device names
- Fix issue #77
1 parent a68856f commit 4285d4a

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

api/parts/data/usage.js

-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ var usage = {},
200200
var lastEndSession = dbAppUser[common.dbUserMap['last_end_session_timestamp']];
201201

202202
if (lastEndSession && (params.time.nowWithoutTimestamp.unix() - lastEndSession) < 15) {
203-
liveApi.extendUserSession(params);
204-
205203
var userProps = {};
206204
userProps[common.dbUserMap['has_ongoing_session']] = true;
207205
userProps[common.dbUserMap['last_begin_session_timestamp']] = params.time.nowWithoutTimestamp.unix();

frontend/express/public/javascripts/countly/countly.device.js

+12
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@
218218
case "iPhone5,2":
219219
fullName = "iPhone 5 (Global)";
220220
break;
221+
case "iPhone5,3":
222+
fullName = "iPhone 5C (GSM)";
223+
break;
224+
case "iPhone5,4":
225+
fullName = "iPhone 5C (Global)";
226+
break;
227+
case "iPhone6,1":
228+
fullName = "iPhone 5S (GSM)";
229+
break;
230+
case "iPhone6,2":
231+
fullName = "iPhone 5S (Global)";
232+
break;
221233
case "iPod1,1":
222234
fullName = "iPod Touch 1G";
223235
break;

frontend/express/public/javascripts/min/countly.lib.js

+8-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)