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

iOS: Add support for headers to the log server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: iOS, Tooling
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2016 Sprint 21 Tooling

      Description

      When a client connects to the log server in the iOS app, it would helpful for the server to immediately respond with information about the app including the app id, version, environment (sim/device), and deploy type.

      The format can be simple and basically mimic how HTTP works. When a new connection is accepted, it would immediately write:

      id: com.foo.bar
      name: Testapp
      version: 1.0.0
      deploy-type: development
      titanium-sdk: 6.0.0
      
      

      The client will interpret all lines prior to \n\n to be a header. Subsequent lines are to be interpreted as log lines.

      We need this feature so that a client can validate it has connected to the correct log server. It's possible for two different apps to listen on the same work and a client may think it's connecting to one app's log server when in fact it's connecting to another app's log server.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10190
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code