Skip to content

[Feature] Unknown User Activation #764

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

Open
wants to merge 274 commits into
base: master
Choose a base branch
from

Conversation

evantk91
Copy link
Collaborator

@evantk91 evantk91 commented May 1, 2024

🔹 Jira Ticket(s)

✏️ Description

This pull request merges anonymous user tracking (AUT) code into main branch..

@evantk91 evantk91 added the omni-cg OMNI PRs label May 26, 2024
@@ -663,6 +736,9 @@ final class InternalIterableAPI: NSObject, PushTrackerProtocol, AuthProvider {
networkSession = dependencyContainer.networkSession
notificationStateProvider = dependencyContainer.notificationStateProvider
localStorage = dependencyContainer.localStorage
//localStorage.userIdAnnon = nil // remove this before pushing the code (only for testing)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to remove this code?

@sam-w
Copy link

sam-w commented Dec 5, 2024

Hi all - https://github.com/Iterable/iterable-swift-sdk/releases/tag/6.6.0-beta1 claims to contain anonymous user support, but it actually doesn't contain much new in comparison to the previous release. Looks like maybe this PR needs to be merged first?

Evan Greer and others added 11 commits December 6, 2024 12:00
…ta2-release

[MOB-10367] update pointers and changelog
# Conflicts:
#	CHANGELOG.md
#	Iterable-iOS-AppExtensions.podspec
#	Iterable-iOS-SDK.podspec
#	swift-sdk.xcodeproj/project.pbxproj
#	swift-sdk/Core/Constants.swift
#	swift-sdk/Internal/InternalIterableAPI.swift
#	swift-sdk/Internal/IterableUserDefaults.swift
#	swift-sdk/Internal/Utilities/LocalStorage.swift
#	swift-sdk/SDK/IterableAPI.swift
#	swift-sdk/SDK/IterableConfig.swift
#	tests/common/MockLocalStorage.swift
Co-authored-by: Evan Greer <[email protected]>
Co-authored-by: Joao Dordio <[email protected]>
# Conflicts:
#	Iterable-iOS-AppExtensions.podspec
#	Iterable-iOS-SDK.podspec
#	swift-sdk/Internal/InternalIterableAPI.swift
#	swift-sdk/SDK/IterableAPI.swift
# Conflicts:
#	Iterable-iOS-AppExtensions.podspec
#	Iterable-iOS-SDK.podspec
#	swift-sdk.xcodeproj/project.pbxproj
#	swift-sdk/Internal/AuthManager.swift
#	swift-sdk/SDK/IterableAPI.swift
@joaodordio joaodordio force-pushed the feature/itbl_track_anon_user branch from 0aedce3 to eefbf17 Compare July 17, 2025 12:58
@sumeruchat sumeruchat force-pushed the feature/itbl_track_anon_user branch from b167fd6 to eefbf17 Compare July 17, 2025 15:03
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

❌ Patch coverage is 70.21434% with 403 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.67%. Comparing base (6e2fdec) to head (8949da5).
⚠️ Report is 875 commits behind head on master.

Files with missing lines Patch % Lines
swift-sdk/SDK/IterableAPI.swift 24.62% 101 Missing ⚠️
...ft-sdk/Internal/UnknownUserManager+Functions.swift 83.51% 76 Missing ⚠️
swift-sdk/Internal/IterableUserDefaults.swift 13.43% 58 Missing ⚠️
swift-sdk/IterableTokenGenerator.swift 0.00% 45 Missing ⚠️
swift-sdk/Internal/UnknownUserManager.swift 79.41% 35 Missing ⚠️
...l/api-client/Request/OfflineRequestProcessor.swift 0.00% 26 Missing ⚠️
swift-sdk/Internal/Utilities/LocalStorage.swift 25.00% 21 Missing ⚠️
...k/Internal/api-client/Request/RequestCreator.swift 85.22% 13 Missing ⚠️
swift-sdk/Internal/InternalIterableAPI.swift 95.26% 9 Missing ⚠️
swift-sdk/Internal/api-client/ApiClient.swift 85.71% 7 Missing ⚠️
... and 4 more
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #764       +/-   ##
===========================================
- Coverage   85.19%   69.67%   -15.52%     
===========================================
  Files          91      109       +18     
  Lines        6301     8842     +2541     
===========================================
+ Hits         5368     6161      +793     
- Misses        933     2681     +1748     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…iOS SDK (#922)

Co-authored-by: Joao Dordio <[email protected]>
Co-authored-by: Evan Takeo Kanaiaupuni Greer <[email protected]>
Co-authored-by: Evan Greer <[email protected]>
@evantk91 evantk91 changed the title [Feature] Anonymous User Tracking [Feature] Unknown User Activation Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
omni-cg OMNI PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants