Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27353] iOS: Unable to send Date() object in event payload

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-08-29T20:48:51.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.1.1
ComponentsiOS
LabelsengSchedule
ReporterGary Mathews
AssigneeGary Mathews
Created2019-08-23T21:56:36.000+0000
Updated2019-08-29T20:48:59.000+0000

Description

- iOS is unable to properly serialize a Javascript Date object in an event payload *TEST*
Ti.Analytics.featureEvent('test.date', { date: new Date() });
*EXPECTED* - Should not crash *ACTUAL* - Crashes application

Comments

  1. Gary Mathews 2019-08-26

    aps_sdk: https://github.com/appcelerator/aps_sdk/pull/337
  2. Gary Mathews 2019-08-26

    master: https://github.com/appcelerator/titanium_mobile/pull/11178

JSON Source