Skip to content

Network object is missing carrier information #137

@215eight

Description

@215eight

Describe the bug

In analytics-swift the network object does not include the carrier property whereas analytics-ios did. Below a comparison of both objects

analytics-ios v4.1.3

"library": {
      "name": "analytics-ios",
      "version": "4.1.3"
    },
    "locale": "en-US",
    "network": {
      "carrier": "T-Mobile",
      "cellular": true,
      "wifi": false
    }

analytics-swift v1.2.0

library": {
      "name": "analytics-swift",
      "version": "1.2.0"
    },
    "locale": "en-US",
    "network": {
      "bluetooth": false,
      "cellular": true,
      "wifi": false
    }

To Reproduce
Steps to reproduce the behavior:

  1. Using the analytics-swift library log an event
  2. The event metadata will not include the carrier property in the network object

Expected behavior
The network metadata should be consistent between analytics-ios and analytics-swift SDKs. This is seen as a regression issue after upgrading to the new package.

Platform (please complete the following information):

  • Library Version in use: v1.2.0
  • Platform being tested: iOS
  • Integrations in use: N/A

Additional context
N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions