[TIMOB-27353] iOS: Unable to send Date() object in event payload
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-08-29T20:48:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.1.1 |
Components | iOS |
Labels | engSchedule |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2019-08-23T21:56:36.000+0000 |
Updated | 2019-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
aps_sdk: https://github.com/appcelerator/aps_sdk/pull/337
master: https://github.com/appcelerator/titanium_mobile/pull/11178