-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Historically, the iOS library has allowed setting a custom anonymous identifier (#485). During adding middlewares, a bug was introduced which started ignoring the anonymousId option. This fixes the bug and adds a test to validate the fix. This was also tested in the example app end to end and I've verified that events show up with the custom anonymousId. Test snipet: ``` [[SEGAnalytics sharedAnalytics] identify:@"Prateek" traits:nil options: @{ @"anonymousId":@"test_anonymousId" }]; ``` Event in debugger: https://cloudup.com/cFyVH4NPR_f Subsequent events will automatically attach the new anonymous ID https://cloudup.com/cK-i_SCbwsN
- Loading branch information
Showing
4 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters