Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
743763f
Added class BranchConfigurationController to send operational_metrics…
NidhiDixit09 Jun 13, 2025
fcf9344
Removed unused property configurationController.
NidhiDixit09 Jun 13, 2025
53af9f8
Fixed typo error.
NidhiDixit09 Jun 17, 2025
5005b0f
Converted class BranchConfigurationController to Swift.
NidhiDixit09 Jun 24, 2025
dc2d9c7
Added target for swift code.
NidhiDixit09 Jun 24, 2025
0ad4564
Updated swift version.
NidhiDixit09 Jun 25, 2025
4902201
Updated GH runner OS version number.
NidhiDixit09 Jun 25, 2025
7dbd73b
Removed extra comma
NidhiDixit09 Jun 25, 2025
53d322c
Revert "Updated swift version."
NidhiDixit09 Jun 25, 2025
d34fed1
Update Package.swift
NidhiDixit09 Jun 25, 2025
46330e0
Reapply "Updated swift version."
NidhiDixit09 Jun 25, 2025
ef025f1
Update Package.swift
NidhiDixit09 Jun 25, 2025
d68dd4a
Update Branch.h
NidhiDixit09 Jun 25, 2025
b217280
Update project.pbxproj
NidhiDixit09 Jun 25, 2025
fd32ed3
Update BranchSDK.podspec
NidhiDixit09 Jun 25, 2025
11f5b06
Update BranchSDK.podspec
NidhiDixit09 Jun 25, 2025
1d706e3
Revert "Update Package.swift"
NidhiDixit09 Jun 26, 2025
0af652c
Update Package.swift
NidhiDixit09 Jun 26, 2025
08f370d
Test checkin POC
NidhiDixit09 Jul 1, 2025
3a38c1a
Package.swift target name updates and minor refactors.
NidhiDixit09 Jul 3, 2025
132b2c9
Added dir BranchSDK_ObjC in podspec file.
NidhiDixit09 Jul 3, 2025
f808caa
Fixed typo.
NidhiDixit09 Jul 3, 2025
90090ae
Fixed SDK name.
NidhiDixit09 Jul 3, 2025
422be6b
Added swift files.
NidhiDixit09 Jul 7, 2025
c71ea06
Update BNCServerInterface.m
gdeluna-branch Jul 11, 2025
83cd178
Source Code folder and project workspace restructuring.
NidhiDixit09 Jul 14, 2025
dadded4
Merge branch '4.0.0.alpha.0' into EMT-2127-Split-SPM-Targets-POC
NidhiDixit09 Jul 15, 2025
af22cad
Revert "Source Code folder and project workspace restructuring."
NidhiDixit09 Jul 15, 2025
f18933a
Reapply "Source Code folder and project workspace restructuring."
NidhiDixit09 Jul 15, 2025
11889f7
Updated GHA for unit tests.
NidhiDixit09 Jul 15, 2025
218c2ec
Update verify.yml
NidhiDixit09 Jul 15, 2025
143eb56
Update verify.yml
NidhiDixit09 Jul 15, 2025
9783baf
Update Package.swift
NidhiDixit09 Jul 15, 2025
d952fa6
Removed tests for app-link-settings custom URL which is not valid any…
NidhiDixit09 Jul 15, 2025
8881ac4
Update project.pbxproj
NidhiDixit09 Jul 15, 2025
f2adb1c
Moved BranchConstants.h file.
NidhiDixit09 Jul 15, 2025
348ef44
Update Package.swift
NidhiDixit09 Jul 16, 2025
e1eb8ae
Update project.pbxproj
NidhiDixit09 Jul 16, 2025
a8b98ba
Removed fastlane files.
NidhiDixit09 Jul 16, 2025
a0ac029
Combined Dependabot PR (#1478)
github-actions[bot] Jul 16, 2025
f4be940
Merge branch 'EMT-2127-Split-SPM-Targets-POC' into EMT-2244-Source-Co…
NidhiDixit09 Jul 16, 2025
5398263
Update BNCServerInterface.m
gdeluna-branch Jul 18, 2025
f2af7f3
Added swift version of ServerRequestQueue
NidhiDixit09 Jul 18, 2025
429e923
Merge pull request #1501 from BranchMetrics/gdeluna-branch/INTENG-22813
gdeluna-branch Jul 18, 2025
808a57f
Release 3.12.2
gdeluna-branch Jul 18, 2025
d0e2a0c
Update ChangeLog.md
gdeluna-branch Jul 18, 2025
a5df809
Update ChangeLog.md
gdeluna-branch Jul 18, 2025
45809c3
Merge pull request #1506 from BranchMetrics/Release-3.12.2
gdeluna-branch Jul 18, 2025
6d9b036
Added step to import cert in release GHA for build-noidfa-framework a…
NidhiDixit09 Jul 18, 2025
60fe3d0
Added class BNCServerRequestOperation and updated rest of SDK source …
NidhiDixit09 Jul 30, 2025
991cf70
Removed processNextQueueItem calls
NidhiDixit09 Jul 30, 2025
6b2d149
Code Cleanup.
NidhiDixit09 Aug 4, 2025
40dadaf
Bump actions/download-artifact from 4 to 5 (#1516)
dependabot[bot] Aug 25, 2025
e29ddd9
EMT- Removed apple_receipt and apple_testflight param from the Server…
NidhiDixit09 Aug 29, 2025
d7f6b62
Emt-2337 setAnonID API (#1519)
NidhiDixit09 Aug 29, 2025
c98a544
EMT-2370 setThirdPartyAPIsTimeout Implementation (#1517)
NidhiDixit09 Aug 29, 2025
b4eac7f
Release 3.13.0 Updates. (#1522)
NidhiDixit09 Aug 29, 2025
4e1e300
Added check to send ODM Info if attribution level is not set. (#1526)
NidhiDixit09 Sep 9, 2025
bb72ef8
Retry logic updated for Http Response Codes 1xx, 2xx, 3xx and 4xx. (#…
NidhiDixit09 Sep 9, 2025
b88d372
Release 3.13.1 Updates. (#1527)
NidhiDixit09 Sep 9, 2025
9a10152
Disabled Deprecation warning for StoreKit(Original) APIs (#1529)
NidhiDixit09 Sep 24, 2025
8d8f5ce
Custom callback test (#1528)
NidhiDixit09 Sep 24, 2025
c17349a
Release 3.13.2 Updates. (#1530)
NidhiDixit09 Sep 24, 2025
618e87d
Implement Swift Concurrency for iOS Branch SDK (EMT-2309)
wpinho-branch Oct 2, 2025
de94b7f
Fixed bug for sending appleAttributionToken in the server requests. (…
NidhiDixit09 Oct 3, 2025
020fdc6
Release 3.13.3 Updates. (#1536)
NidhiDixit09 Oct 3, 2025
0b4ae3c
Fix build errors in BranchSDK target
wpinho-branch Nov 19, 2025
0d9b95e
WIP: Phase 2 - Remove bridging code and add Swift implementations
wpinho-branch Nov 19, 2025
3c48289
Add Swift queue implementation alongside existing queue
wpinho-branch Nov 19, 2025
fdb3c61
Migrate to NSOperationQueue-based request processing
wpinho-branch Nov 19, 2025
a7ed8b1
Remove Swift implementation, finalize pure Objective-C architecture
wpinho-branch Nov 19, 2025
2d5f7a5
Phase 5: Reorganize headers and add missing imports
wpinho-branch Nov 19, 2025
67862dc
Phase 2: Test reorganization and modernization
wpinho-branch Nov 19, 2025
cec44e4
Merge branch '4.0.0-alpha.0' into feature/remove-bridging-code
wpinho-branch Dec 12, 2025
233f9ea
Merge branch 'BNC-Server-Request-Queue-Refactoring-And-Auto-Request-P…
wpinho-branch Dec 12, 2025
52c6507
Merge branch 'master' into feature/remove-bridging-code
wpinho-branch Dec 16, 2025
ccd3ffe
Remove stale BNCAppleReceiptTests
wpinho-branch Dec 16, 2025
129e2e8
Update BNCODMTests to use current API
wpinho-branch Dec 16, 2025
5c5b806
Fix BranchConfigurationControllerTests for Xcode builds
wpinho-branch Dec 16, 2025
fcbf768
Add header search paths to BranchSDKTests target
wpinho-branch Dec 16, 2025
98278fe
Revert version numbers to 3.12.1 to match 4.0.0-alpha.0 base
wpinho-branch Dec 16, 2025
725271c
Fix BNCServerRequestOperation target membership for CI builds
wpinho-branch Dec 16, 2025
c8ef210
Fix bridging header paths for CocoaPods compatibility
wpinho-branch Dec 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BNCAPIServerTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#import "BNCSystemObserver.h"
#import "BNCConfig.h"
#import "BranchConstants.h"
#import "Branch.h"
@import BranchSDK;

@interface BNCAPIServerTest : XCTestCase

Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BNCODMTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "BNCPreferenceHelper.h"
#import "BNCRequestFactory.h"
#import "BNCEncodingUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BNCPasteboardTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import <XCTest/XCTest.h>
#import "BNCPasteboard.h"
#import "Branch.h"
@import BranchSDK;

@interface BNCPasteboardTests : XCTestCase

Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BNCPreferenceHelperTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import <XCTest/XCTest.h>
#import "BNCPreferenceHelper.h"
#import "BNCEncodingUtils.h"
#import "Branch.h"
@import BranchSDK;
#import "BNCConfig.h"

@interface BNCPreferenceHelper()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// Module headers for Branch SDK unit testing.
//

#import "Branch.h"
@import BranchSDK;
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BranchActivityItemTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;

@interface BranchActivityItemTests: XCTestCase
@end
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BranchClassTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "BranchConstants.h"
#import "BNCPasteboard.h"
#import "BNCAppGroupsData.h"
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BranchLoggerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import <XCTest/XCTest.h>
#import "BranchLogger.h"
#import "Branch.h"
@import BranchSDK;

@interface BranchLoggerTests : XCTestCase

Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BranchQRCodeTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "BranchQRCode.h"
#import "BNCQRCodeCache.h"

Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-SDK-Tests/BranchShareLinkTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import <XCTest/XCTest.h>
#import "BranchShareLink.h"
#import "BranchLinkProperties.h"
#import "Branch.h"
@import BranchSDK;

@interface BranchShareLinkTests : XCTestCase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
// #import "Branch.h"
// @import BranchSDK;

@interface DispatchToIsolationQueueTests : XCTestCase
// @property (nonatomic, strong, readwrite) Branch *branch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "NSError+Branch.h"

// expose private methods used by tests
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed-UITests/UITestCaseMisc.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "UITestCaseTestBed.h"
#import "Branch.h"
@import BranchSDK;
#import "BranchEvent.h"

@interface UITestCaseMisc : UITestCaseTestBed
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed-UITests/UITestCaseTracking.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "UITestCaseTestBed.h"
#import "Branch.h"
@import BranchSDK;
#import "BranchEvent.h"

@interface UITestCaseTracking : UITestCaseTestBed
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed-UITests/UITestSendV2Event.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "BranchEvent.h"
#import "UITestCaseTestBed.h"

Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed-UITests/UITestSetIdentity.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


#import <XCTest/XCTest.h>
#import "Branch.h"
@import BranchSDK;
#import "BranchEvent.h"
#import "UITestCaseTestBed.h"

Expand Down
663 changes: 274 additions & 389 deletions Branch-TestBed/Branch-TestBed.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1630"
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -123,6 +123,15 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7E6B3B501AA42D0E005F45BF"
BuildableName = "Branch-SDK-Tests.xctest"
BlueprintName = "Branch-SDK-Tests"
ReferencedContainer = "container:Branch-TestBed.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1630"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1630"
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1630"
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1630"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "466B58371B17773000A69EDE"
BuildableName = "libBranch.a"
BuildableName = "Branch"
BlueprintName = "Branch"
ReferencedContainer = "container:Branch-TestBed.xcodeproj">
</BuildableReference>
Expand All @@ -34,7 +34,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "466B58371B17773000A69EDE"
BuildableName = "libBranch.a"
BuildableName = "Branch"
BlueprintName = "Branch"
ReferencedContainer = "container:Branch-TestBed.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -83,7 +83,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "466B58371B17773000A69EDE"
BuildableName = "libBranch.a"
BuildableName = "Branch"
BlueprintName = "Branch"
ReferencedContainer = "container:Branch-TestBed.xcodeproj">
</BuildableReference>
Expand All @@ -99,7 +99,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "466B58371B17773000A69EDE"
BuildableName = "libBranch.a"
BuildableName = "Branch"
BlueprintName = "Branch"
ReferencedContainer = "container:Branch-TestBed.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1620"
LastUpgradeVersion = "1630"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
69 changes: 65 additions & 4 deletions Branch-TestBed/Branch-TestBed/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
#import "LogOutputViewController.h"
#import "NavigationController.h"
#import "ViewController.h"
#import "Branch.h"
#import "BNCEncodingUtils.h"
#import "BranchEvent.h"
@import BranchSDK;

AppDelegate* appDelegate = nil;
void APPLogHookFunction(NSDate*_Nonnull timestamp, BranchLogLevel level, NSString*_Nullable message);
Expand Down Expand Up @@ -71,7 +69,70 @@ - (BOOL)application:(UIApplication *)application
//[branch addFacebookPartnerParameterWithName:@"em" value:@"11234e56af071e9c79927651156bd7a10bca8ac34672aba121056e2698ee7088"];

[branch checkPasteboardOnInstall];


// ========================================
// 🔍 VERIFICATION: Swift Concurrency Active?
// ========================================
// Try SPM module name first (BranchSwiftSDK), then fallback to BranchSDK
Class swiftOperationClass = NSClassFromString(@"BranchSwiftSDK.BranchRequestOperation");
Class swiftQueueClass = NSClassFromString(@"BranchSwiftSDK.BranchRequestQueue");

// Fallback to BranchSDK namespace (for non-SPM builds)
if (!swiftOperationClass) {
swiftOperationClass = NSClassFromString(@"BranchSDK.BranchRequestOperation");
}
if (!swiftQueueClass) {
swiftQueueClass = NSClassFromString(@"BranchSDK.BranchRequestQueue");
}

if (swiftOperationClass && swiftQueueClass) {
NSLog(@"");
NSLog(@"🎉 ================================================");
NSLog(@" ✅ SWIFT CONCURRENCY IS ACTIVE!");
NSLog(@"================================================");
NSLog(@"✅ BranchRequestOperation (Swift): FOUND");
NSLog(@"✅ BranchRequestQueue (Swift): FOUND");
NSLog(@"🚀 Using modern async/await patterns");
NSLog(@"🧵 Thread safety via Swift Actor");
NSLog(@"📊 Architecture mirroring Android Kotlin Coroutines");
NSLog(@"================================================");
NSLog(@"");
} else {
NSLog(@"");
NSLog(@"⚠️ ================================================");
NSLog(@" ❌ SWIFT CONCURRENCY NOT ACTIVE");
NSLog(@"================================================");
if (!swiftOperationClass) {
NSLog(@"❌ BranchRequestOperation (Swift): NOT FOUND");
NSLog(@" Tried: BranchSwiftSDK.BranchRequestOperation");
NSLog(@" Tried: BranchSDK.BranchRequestOperation");
}
if (!swiftQueueClass) {
NSLog(@"❌ BranchRequestQueue (Swift): NOT FOUND");
NSLog(@" Tried: BranchSwiftSDK.BranchRequestQueue");
NSLog(@" Tried: BranchSDK.BranchRequestQueue");
}
NSLog(@"⚠️ Using legacy Objective-C implementation");
NSLog(@"💡 Make sure BranchSDK package is properly linked");
NSLog(@"================================================");
NSLog(@"");
}

// Additional verification: Try to get shared instance
if (swiftQueueClass) {
SEL sharedSelector = NSSelectorFromString(@"shared");
if ([swiftQueueClass respondsToSelector:sharedSelector]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
id sharedQueue = [swiftQueueClass performSelector:sharedSelector];
if (sharedQueue) {
NSLog(@"✅ BranchRequestQueue.shared: Accessible via runtime");
}
#pragma clang diagnostic pop
}
}


/*
* Required: Initialize Branch, passing a deep link handler block:
*/
Expand Down
2 changes: 1 addition & 1 deletion Branch-TestBed/Branch-TestBed/NavigationController.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Branch Metrics. All rights reserved.
//

#import "Branch.h"
@import BranchSDK;

@interface NavigationController : UINavigationController <BranchDeepLinkingController>
@end
4 changes: 1 addition & 3 deletions Branch-TestBed/Branch-TestBed/PasteControlViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
//

#import "PasteControlViewController.h"
#import "Branch.h"
#import "BranchOpenRequest.h"
#import "BranchPasteControl.h"
@import BranchSDK;
#import "LogOutputViewController.h"
#import "AppDelegate.h"

Expand Down
9 changes: 2 additions & 7 deletions Branch-TestBed/Branch-TestBed/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
// Copyright (c) 2014 Branch Metrics. All rights reserved.
//

#import "Branch.h"
#import "BranchEvent.h"
#import "BranchQRCode.h"
#import "BranchConstants.h"
#import "BNCConfig.h"
@import BranchSDK;
#import "BNCConfig.h" // For BNC_SDK_VERSION
#import "ViewController.h"
#import "LogOutputViewController.h"
#import "ArrayPickerView.h"
#import "BranchUniversalObject.h"
#import "BranchLinkProperties.h"
#import "LogOutputViewController.h"
#import "AppDelegate.h"
#import <LinkPresentation/LinkPresentation.h>
Expand Down
Loading
Loading