[TIMOB-4642] Android: Titanium.Analytics.timedEvent is giving a runtime error when passing in the date.
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-05T14:21:36.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-35, Release 1.7.3, Release 1.8.0 |
Components | Android |
Labels | n/a |
Reporter | Natalie Huynh |
Assignee | Don Thorp |
Created | 2011-07-11T16:20:31.000+0000 |
Updated | 2011-11-05T14:21:36.000+0000 |
Description
Steps to Reproduce:
1. Run the analytic application
2. Run timedEvent
Actual Result:
Runtime Error: Wrapped java.lang.IllegalArgumentException: Expected Long type for argument "start" in "timedEvent", but go Mon Jul 11 16:04:41 PDT 2011
Expected Result:
To send the analytics
Note:
Documentation indicates it is looking for type Date and the runtime error indicates it is looking for a Long. Works in iOS, problem in Android only
Attachments
File | Date | Size |
app.js | 2011-07-11T16:20:31.000+0000 | 1627 |
Also occurs with 1.7.1
https://github.com/appcelerator/titanium_mobile/pull/449 accepted and merged
reopening for 1.7.X merge
Merged to 1_7_X branch
Tested with 1.7.3.v20110928185013 with Hero 2.1 Galaxy Tab 3.1 Emulator 2.3
Tested with 1.8.0.v20111007112617 Hero 2.1 Nexus S 2.3.6
Standardizing summary and labels.