Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23402

Analytics: Add data element to JSON payload for windows phone parity

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.4.0
    • Component/s: Windows
    • Environment:

      NPM Version: 2.15.1
      Node Version: 4.4.3
      Mac OS: 10.11.2
      Appc CLI: 5.3.0-45
      Appc CLI NPM: 4.2.5-5
      Titanium SDK version: 5.3.0.v20160516040258
      Appcelerator Studio, build: 4.6.0.201605121040
      Xcode 7.3.1 GM

    • Story Points:
      3
    • Sprint:
      2016 Sprint 11 SDK

      Description

      Description:

      Currently the windows phone JSON payloads for ti.background have no data element. The other platforms have this structure. There are improvement tickets in place to update the structure of the existing structure of the payload for both Android and iOS. Based on the status of those (linked) tickets, adding parity for windows should be done to reflect the other platform's payloads at the time of implementation.

      Current example:

      {
      	"ver": "3",
      	"id": "7cea9910-cf8b-4a3c-a8f8-c8ed14276cc5:dc5e5c1715b599dd",
      	"event": "ti.background",
      	"ts": "2014-12-09T18:14:51.282+0000",
      	"mid": "dc5e5c1715b599dd",
      	"sid": "79dd4123-1685-43fa-82d0-6816ddcd9901",
      	"aguid": "5ae84ca8-78ad-4776-9640-b7b3dd29543b",
      	"data": {
      		"value": ""
      	},
      	"seq": 3
      }
      

      Steps to reproduce:

      1) Install a titanium project on a windows phone device
      2) Launch the app
      3) Use either - a) point device to staging via DNS setting, check logs. b) Use get last event api c) If you have backend access, check the raw event on AWS.
      4) Examine any of the ti.background event types.

      Result:

      There is no "data" element

      Expected Result:

      There is a "data" element, in parity with the other platforms

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                emerriman Eric Merriman
                Reviewer:
                Gary Mathews
                Tester:
                Harry Bryant
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code