Event : Duration logic not work

Hello,

I'm testing event fuction with Contly SDK Android 16.06.04 version.

Duration logic didn't work correctly when use startEvent() & endEvent().

When call endEvent function, event.dur = Countly.currentTimestamp() - event.timestamp is run.

Countly.currentTimestampe() is below picture.

event.timestamp called Counly.currentTimestampMS(). Just use System.currentTimeMillis().

One is value/1000L, the other is value. Maybe this logic should be changed.

0

Comments

0 comments

Please sign in to leave a comment.