Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7936] Ti API: Shake gesture timing in seconds or milliseconds

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-12T19:18:36.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsTiAPI
Labelsparity, tbs-2.1.0
ReporterArthur Evans
AssigneeEric Merriman
Created2012-03-08T14:08:55.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-06-12

    Closing ticket due to the time passed, lack of information and lack of progress. Any problems, please file a new ticket.

JSON Source