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

iOS: Ti.userAgent ignored for Ti.Network.HTTPClient operations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Release 6.0.0
    • Component/s: iOS
    • Labels:
    • Story Points:
      8

      Description

      According to the documentation, we should be able to set the user agent string used by Titanium: http://docs.appcelerator.com/platform/latest/#!/api/Titanium-property-userAgent

      iOS allows you to set the property value, but effectively ignores it. We use our own hard-coded value.

      We should likely continue to use our own value internally for things like analytics/geolocation/etc, and use the user-supplied one for Ti.network.HTTPClient operations. Give that usage, we may want to even make Ti.userAgent read-only and have a userAgent property on Ti.Network.HTTPClient.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code