Skip to content

Removed auth header w/ writekey; Added context.instanceId #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

bsneed
Copy link
Contributor

@bsneed bsneed commented Dec 5, 2022

  • Removed auth-header containing writekey.
  • Added context.instanceId to identify analytics instance.

@didiergarcia
Copy link
Contributor

Do we need to make changes to the tests that use Authorization header?:

https://github.com/segmentio/analytics-swift/blob/main/Tests/Segment-Tests/Analytics_Tests.swift#L535

https://github.com/segmentio/analytics-swift/blob/main/Tests/Segment-Tests/StressTests.swift#L52

Copy link
Contributor

@wenxi-zeng wenxi-zeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bsneed bsneed merged commit 9cf108a into main Dec 7, 2022
@bsneed bsneed deleted the bsneed/writekey_consolidation branch December 7, 2022 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants