[TIMOB-7936] Ti API: Shake gesture timing in seconds or milliseconds
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-12T19:18:36.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | TiAPI |
Labels | parity, tbs-2.1.0 |
Reporter | Arthur Evans |
Assignee | Eric Merriman |
Created | 2012-03-08T14:08:55.000+0000 |
Updated | 2017-06-12T19:18:36.000+0000 |
Description
It appears that the Gesture.shake event returns a timestamp in seconds on iOS, and in milliseconds on Android and Mobile Web. The units should be consistent across platforms.
If changing the return value would be too disruptive, we could add a new property using a well-defined unit, and deprecate timestamp.
Since this is actually the interval since the last event, and not an absolute timestamp, I recommend using "interval" and a unit of milliseconds, which is in line with the W3C device orientation spec.
Closing ticket due to the time passed, lack of information and lack of progress. Any problems, please file a new ticket.