From ea67a2f433d5cb43d8e3dbf94131dc107596a4ad Mon Sep 17 00:00:00 2001 From: Aditi3 Date: Wed, 28 Feb 2024 11:04:51 +0100 Subject: [PATCH 1/5] chore(examples): update deprecated method openURL(_:) Update the deprecated method openURL(_:) to open(_:options:completionHandler:) --- .../AdjustExample-ObjC/AppDelegate.m | 6 +++++- .../AdjustExample-Swift/AppDelegate.swift | 12 ++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m b/examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m index 3f546d6f1..a2a16bf57 100644 --- a/examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m +++ b/examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m @@ -82,7 +82,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { NSLog(@"Scheme based deep link opened an app: %@", url); - // Pass deep link to Adjust in order to potentially reattribute user. + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend [Adjust appWillOpenUrl:url]; return YES; } diff --git a/examples/AdjustExample-Swift/AdjustExample-Swift/AppDelegate.swift b/examples/AdjustExample-Swift/AdjustExample-Swift/AppDelegate.swift index 4ccc9059c..3e01497ed 100644 --- a/examples/AdjustExample-Swift/AdjustExample-Swift/AppDelegate.swift +++ b/examples/AdjustExample-Swift/AdjustExample-Swift/AppDelegate.swift @@ -73,14 +73,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate, AdjustDelegate { return true } - - func application(_ application: UIApplication, handleOpen url: URL) -> Bool { + + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { NSLog("Scheme based deep link opened an app: %@", url.absoluteString) - // Pass deep link to Adjust in order to potentially reattribute user. + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend Adjust.appWillOpen(url) return true } - + func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { if (userActivity.activityType == NSUserActivityTypeBrowsingWeb) { NSLog("Universal link opened an app: %@", userActivity.webpageURL!.absoluteString) From 685e16773583a826648b687a0f96fac0bd44dcf9 Mon Sep 17 00:00:00 2001 From: Aditi3 Date: Wed, 28 Feb 2024 11:31:23 +0100 Subject: [PATCH 2/5] fix(tvOS example): update purchase classes under Adjust framework --- .../project.pbxproj | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj b/examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj index 3e13c0721..f9d4852ea 100644 --- a/examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 07C8C7D72B8F428F006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7D12B8F428F006979A1 /* ADJPurchaseVerificationResult.m */; }; + 07C8C7D82B8F428F006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7D22B8F428F006979A1 /* ADJPurchase.m */; }; + 07C8C7D92B8F428F006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7D32B8F428F006979A1 /* ADJPurchaseVerificationHandler.m */; }; 6F84514125B1B1C80004C7C0 /* ADJThirdPartySharing.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F84513F25B1B1C70004C7C0 /* ADJThirdPartySharing.m */; }; 6FAB78B32636DD8200773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78B22636DD8200773869 /* ADJLinkResolution.m */; }; 6FBEE91424E4214800FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE91324E4214800FEF3F1 /* ADJUrlStrategy.m */; }; @@ -67,6 +70,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 07C8C7D12B8F428F006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = ""; }; + 07C8C7D22B8F428F006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = ""; }; + 07C8C7D32B8F428F006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = ""; }; + 07C8C7D42B8F428F006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = ""; }; + 07C8C7D52B8F428F006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = ""; }; + 07C8C7D62B8F428F006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = ""; }; 6F84513F25B1B1C70004C7C0 /* ADJThirdPartySharing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJThirdPartySharing.m; sourceTree = ""; }; 6F84514025B1B1C80004C7C0 /* ADJThirdPartySharing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJThirdPartySharing.h; sourceTree = ""; }; 6FAB78B12636DD8200773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = ""; }; @@ -281,6 +290,12 @@ 6FAB78B22636DD8200773869 /* ADJLinkResolution.m */, 9D49D16F290FEBFC00042345 /* ADJSKAdNetwork.h */, 9D49D170290FEBFC00042345 /* ADJSKAdNetwork.m */, + 07C8C7D62B8F428F006979A1 /* ADJPurchase.h */, + 07C8C7D22B8F428F006979A1 /* ADJPurchase.m */, + 07C8C7D42B8F428F006979A1 /* ADJPurchaseVerificationHandler.h */, + 07C8C7D32B8F428F006979A1 /* ADJPurchaseVerificationHandler.m */, + 07C8C7D52B8F428F006979A1 /* ADJPurchaseVerificationResult.h */, + 07C8C7D12B8F428F006979A1 /* ADJPurchaseVerificationResult.m */, ); name = Adjust; path = ../../../Adjust; @@ -412,6 +427,8 @@ 9D449F5E1E6EE6C500E7E80B /* ADJUtil.m in Sources */, 9D449F4E1E6EE6C500E7E80B /* ADJEventFailure.m in Sources */, 9D449F461E6EE6C500E7E80B /* ADJAdjustFactory.m in Sources */, + 07C8C7D82B8F428F006979A1 /* ADJPurchase.m in Sources */, + 07C8C7D92B8F428F006979A1 /* ADJPurchaseVerificationHandler.m in Sources */, 9D449F3F1E6EE6C500E7E80B /* ADJActivityHandler.m in Sources */, 9D449F5C1E6EE6C500E7E80B /* ADJTimerOnce.m in Sources */, 9D449F401E6EE6C500E7E80B /* ADJActivityKind.m in Sources */, @@ -421,6 +438,7 @@ 9D449F4D1E6EE6C500E7E80B /* ADJEvent.m in Sources */, 963909B71BCC0D8300A2E8A4 /* main.m in Sources */, 6FBEE91424E4214800FEF3F1 /* ADJUrlStrategy.m in Sources */, + 07C8C7D72B8F428F006979A1 /* ADJPurchaseVerificationResult.m in Sources */, 9D449F491E6EE6C500E7E80B /* ADJBackoffStrategy.m in Sources */, 9D449F581E6EE6C500E7E80B /* ADJSessionParameters.m in Sources */, 9D49D171290FEBFC00042345 /* ADJSKAdNetwork.m in Sources */, From e5021b791721247d7380d3339f8640a93f399fb3 Mon Sep 17 00:00:00 2001 From: Aditi3 Date: Wed, 28 Feb 2024 11:32:48 +0100 Subject: [PATCH 3/5] chore(tvOS example): update deprecated method openURL(_:) --- .../AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m b/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m index d7fa21fd3..dec896738 100644 --- a/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m +++ b/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m @@ -74,7 +74,14 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( return YES; } -- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { + NSLog(@"Scheme based deep link opened an app: %@", url); + // Pass deep link to Adjust in order to potentially reattribute user. + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend [Adjust appWillOpenUrl:url]; return YES; } From 93fa5729a341abd3c801699b8dd63e6b0d77f318 Mon Sep 17 00:00:00 2001 From: Aditi3 Date: Wed, 28 Feb 2024 11:44:29 +0100 Subject: [PATCH 4/5] fix: update purchase classes for Adjust framework under example --- .../project.pbxproj | 36 +++++++++---------- .../AdjustExample-FbPixel/AppDelegate.m | 9 ++++- .../project.pbxproj | 36 +++++++++---------- .../AdjustExample-WebView/AppDelegate.m | 7 ++++ .../project.pbxproj | 18 ++++++++++ .../project.pbxproj | 18 ++++++++++ 6 files changed, 87 insertions(+), 37 deletions(-) diff --git a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel.xcodeproj/project.pbxproj b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel.xcodeproj/project.pbxproj index e864f5e90..34571a4d5 100644 --- a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel.xcodeproj/project.pbxproj @@ -7,10 +7,10 @@ objects = { /* Begin PBXBuildFile section */ - 07A893432B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */; }; - 07A893442B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */; }; - 07A893452B0B980B0011DAB8 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893412B0B980B0011DAB8 /* ADJPurchase.m */; }; 07AF832327BD3CBF00C5DD9E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 07AF832227BD3CBF00C5DD9E /* Main.storyboard */; }; + 07C8C7F22B8F447B006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */; }; + 07C8C7F32B8F447B006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */; }; + 07C8C7F42B8F447B006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */; }; 6FAB78C12636DDC400773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */; }; 9D49D17A290FEC2E00042345 /* ADJSKAdNetwork.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D49D179290FEC2E00042345 /* ADJSKAdNetwork.m */; }; 9D9D1533212EB3920081445E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9D1532212EB3920081445E /* AppDelegate.m */; }; @@ -63,13 +63,13 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 07A8933D2B0B980B0011DAB8 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchase.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.h"; sourceTree = ""; }; - 07A8933E2B0B980B0011DAB8 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationResult.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.h"; sourceTree = ""; }; - 07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationHandler.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.m"; sourceTree = ""; }; - 07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationResult.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.m"; sourceTree = ""; }; - 07A893412B0B980B0011DAB8 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchase.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.m"; sourceTree = ""; }; - 07A893422B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationHandler.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.h"; sourceTree = ""; }; 07AF832227BD3CBF00C5DD9E /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + 07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = ""; }; + 07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = ""; }; + 07C8C7EE2B8F447B006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = ""; }; + 07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = ""; }; + 07C8C7F02B8F447B006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = ""; }; + 07C8C7F12B8F447B006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = ""; }; 6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJLinkResolution.m; sourceTree = ""; }; 6FAB78C02636DDC400773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = ""; }; 9D49D178290FEC2E00042345 /* ADJSKAdNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSKAdNetwork.h; sourceTree = ""; }; @@ -298,12 +298,12 @@ 6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */, 9D49D178290FEC2E00042345 /* ADJSKAdNetwork.h */, 9D49D179290FEC2E00042345 /* ADJSKAdNetwork.m */, - 07A8933D2B0B980B0011DAB8 /* ADJPurchase.h */, - 07A893412B0B980B0011DAB8 /* ADJPurchase.m */, - 07A893422B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.h */, - 07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */, - 07A8933E2B0B980B0011DAB8 /* ADJPurchaseVerificationResult.h */, - 07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */, + 07C8C7EE2B8F447B006979A1 /* ADJPurchase.h */, + 07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */, + 07C8C7F02B8F447B006979A1 /* ADJPurchaseVerificationHandler.h */, + 07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */, + 07C8C7F12B8F447B006979A1 /* ADJPurchaseVerificationResult.h */, + 07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */, ); name = Adjust; path = ../../../Adjust; @@ -427,16 +427,13 @@ 9DF92F202630F377000FC3FC /* ADJResponseData.m in Sources */, 9DF92F1C2630F377000FC3FC /* ADJActivityPackage.m in Sources */, 9DF92F0C2630F377000FC3FC /* ADJEventSuccess.m in Sources */, - 07A893442B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m in Sources */, 9DF92FB02630F3A1000FC3FC /* WKWebViewJavascriptBridge.m in Sources */, - 07A893432B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */, 9DF92F232630F377000FC3FC /* ADJUserDefaults.m in Sources */, 9DF92F182630F377000FC3FC /* NSData+ADJAdditions.m in Sources */, 9DF92F212630F377000FC3FC /* ADJPackageBuilder.m in Sources */, 9DF92F132630F377000FC3FC /* Adjust.m in Sources */, 9DF92F172630F377000FC3FC /* NSString+ADJAdditions.m in Sources */, 9DF92F052630F377000FC3FC /* ADJTimerOnce.m in Sources */, - 07A893452B0B980B0011DAB8 /* ADJPurchase.m in Sources */, 9DF92F072630F377000FC3FC /* ADJRequestHandler.m in Sources */, 9DF92F122630F377000FC3FC /* ADJBackoffStrategy.m in Sources */, 9DF92F222630F377000FC3FC /* ADJSubscription.m in Sources */, @@ -457,14 +454,17 @@ 9DF92F0F2630F377000FC3FC /* ADJTimerCycle.m in Sources */, 9DF92FB12630F3A1000FC3FC /* WebViewJavascriptBridge_JS.m in Sources */, 9DF92F0E2630F377000FC3FC /* ADJSessionFailure.m in Sources */, + 07C8C7F22B8F447B006979A1 /* ADJPurchaseVerificationResult.m in Sources */, 9DF92F1E2630F377000FC3FC /* ADJUrlStrategy.m in Sources */, 6FAB78C12636DDC400773869 /* ADJLinkResolution.m in Sources */, 9DF92F1B2630F377000FC3FC /* ADJThirdPartySharing.m in Sources */, + 07C8C7F42B8F447B006979A1 /* ADJPurchaseVerificationHandler.m in Sources */, 9DF92F162630F377000FC3FC /* ADJActivityKind.m in Sources */, 9DF92F092630F377000FC3FC /* ADJEvent.m in Sources */, 9DF92F0D2630F377000FC3FC /* ADJActivityState.m in Sources */, 9DF92F0A2630F377000FC3FC /* ADJSessionSuccess.m in Sources */, 9DF92F042630F377000FC3FC /* ADJAdRevenue.m in Sources */, + 07C8C7F32B8F447B006979A1 /* ADJPurchase.m in Sources */, 9DF92F142630F377000FC3FC /* ADJConfig.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m index 79e3b7ee2..47cf39eb6 100644 --- a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m +++ b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m @@ -22,7 +22,14 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( return YES; } -- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { + NSLog(@"Scheme based deep link opened an app: %@", url); + // Pass deep link to Adjust in order to potentially reattribute user. + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend [Adjust appWillOpenUrl:url]; return YES; } diff --git a/examples/AdjustExample-WebView/AdjustExample-WebView.xcodeproj/project.pbxproj b/examples/AdjustExample-WebView/AdjustExample-WebView.xcodeproj/project.pbxproj index 818ae7f98..3f29f349d 100644 --- a/examples/AdjustExample-WebView/AdjustExample-WebView.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-WebView/AdjustExample-WebView.xcodeproj/project.pbxproj @@ -7,9 +7,9 @@ objects = { /* Begin PBXBuildFile section */ - 07A8933A2B0B95D50011DAB8 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893362B0B95D50011DAB8 /* ADJPurchaseVerificationResult.m */; }; - 07A8933B2B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893372B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.m */; }; - 07A8933C2B0B95D50011DAB8 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893382B0B95D50011DAB8 /* ADJPurchase.m */; }; + 07C8C7E92B8F4404006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7E32B8F4404006979A1 /* ADJPurchaseVerificationHandler.m */; }; + 07C8C7EA2B8F4404006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7E52B8F4404006979A1 /* ADJPurchase.m */; }; + 07C8C7EB2B8F4404006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7E82B8F4404006979A1 /* ADJPurchaseVerificationResult.m */; }; 6F84513D25B1B1B40004C7C0 /* ADJThirdPartySharing.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F84513B25B1B1B40004C7C0 /* ADJThirdPartySharing.m */; }; 6FAB78AF2636DD6B00773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78AE2636DD6B00773869 /* ADJLinkResolution.m */; }; 6FBEE91124E4213900FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE91024E4213800FEF3F1 /* ADJUrlStrategy.m */; }; @@ -66,12 +66,12 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 07A893342B0B95D50011DAB8 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationResult.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.h"; sourceTree = ""; }; - 07A893352B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationHandler.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.h"; sourceTree = ""; }; - 07A893362B0B95D50011DAB8 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationResult.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.m"; sourceTree = ""; }; - 07A893372B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationHandler.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.m"; sourceTree = ""; }; - 07A893382B0B95D50011DAB8 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchase.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.m"; sourceTree = ""; }; - 07A893392B0B95D50011DAB8 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchase.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.h"; sourceTree = ""; }; + 07C8C7E32B8F4404006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = ""; }; + 07C8C7E42B8F4404006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = ""; }; + 07C8C7E52B8F4404006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = ""; }; + 07C8C7E62B8F4404006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = ""; }; + 07C8C7E72B8F4404006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = ""; }; + 07C8C7E82B8F4404006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = ""; }; 6F84513B25B1B1B40004C7C0 /* ADJThirdPartySharing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJThirdPartySharing.m; sourceTree = ""; }; 6F84513C25B1B1B40004C7C0 /* ADJThirdPartySharing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJThirdPartySharing.h; sourceTree = ""; }; 6FAB78AD2636DD6B00773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = ""; }; @@ -319,12 +319,12 @@ 6FAB78AE2636DD6B00773869 /* ADJLinkResolution.m */, 9D49D16C290FEBEB00042345 /* ADJSKAdNetwork.h */, 9D49D16D290FEBEB00042345 /* ADJSKAdNetwork.m */, - 07A893392B0B95D50011DAB8 /* ADJPurchase.h */, - 07A893382B0B95D50011DAB8 /* ADJPurchase.m */, - 07A893352B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.h */, - 07A893372B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.m */, - 07A893342B0B95D50011DAB8 /* ADJPurchaseVerificationResult.h */, - 07A893362B0B95D50011DAB8 /* ADJPurchaseVerificationResult.m */, + 07C8C7E42B8F4404006979A1 /* ADJPurchase.h */, + 07C8C7E52B8F4404006979A1 /* ADJPurchase.m */, + 07C8C7E62B8F4404006979A1 /* ADJPurchaseVerificationHandler.h */, + 07C8C7E32B8F4404006979A1 /* ADJPurchaseVerificationHandler.m */, + 07C8C7E72B8F4404006979A1 /* ADJPurchaseVerificationResult.h */, + 07C8C7E82B8F4404006979A1 /* ADJPurchaseVerificationResult.m */, ); name = Adjust; path = ../../../Adjust; @@ -460,6 +460,7 @@ 9D449EDC1E6EDD4100E7E80B /* ADJActivityPackage.m in Sources */, 9D449EF71E6EDD4100E7E80B /* ADJTimerOnce.m in Sources */, 9DF92D9F2630EE54000FC3FC /* ADJPackageParams.m in Sources */, + 07C8C7E92B8F4404006979A1 /* ADJPurchaseVerificationHandler.m in Sources */, 9D449EF81E6EDD4100E7E80B /* Adjust.m in Sources */, 9D449EDF1E6EDD4100E7E80B /* NSString+ADJAdditions.m in Sources */, 9D449EF31E6EDD4100E7E80B /* ADJSessionParameters.m in Sources */, @@ -468,7 +469,6 @@ 6F84513D25B1B1B40004C7C0 /* ADJThirdPartySharing.m in Sources */, 9DD0E9C41F4587C600B2A759 /* ADJUserDefaults.m in Sources */, 9D75F1991D07463800E5D222 /* WKWebViewJavascriptBridge.m in Sources */, - 07A8933C2B0B95D50011DAB8 /* ADJPurchase.m in Sources */, 9D10833D1CFDD8F00050568B /* WKWebViewController.m in Sources */, 9D449EE51E6EDD4100E7E80B /* ADJConfig.m in Sources */, 9DF38239260E9DDE0033F5A1 /* NSNumber+ADJAdditions.m in Sources */, @@ -480,15 +480,14 @@ 9D75F1971D07463800E5D222 /* WebViewJavascriptBridge_JS.m in Sources */, 968595F11D0B2E630011CA2B /* AdjustBridgeRegister.m in Sources */, 9D449EF61E6EDD4100E7E80B /* ADJTimerCycle.m in Sources */, + 07C8C7EB2B8F4404006979A1 /* ADJPurchaseVerificationResult.m in Sources */, 9D75F1981D07463800E5D222 /* WebViewJavascriptBridgeBase.m in Sources */, 9D449EE21E6EDD4100E7E80B /* ADJAttribution.m in Sources */, 9D449EE81E6EDD4100E7E80B /* ADJEvent.m in Sources */, 9D49D16E290FEBEB00042345 /* ADJSKAdNetwork.m in Sources */, 9D449EF11E6EDD4100E7E80B /* ADJSdkClickHandler.m in Sources */, 9D449EDB1E6EDD4100E7E80B /* ADJActivityKind.m in Sources */, - 07A8933B2B0B95D50011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */, 9D449EDE1E6EDD4100E7E80B /* NSData+ADJAdditions.m in Sources */, - 07A8933A2B0B95D50011DAB8 /* ADJPurchaseVerificationResult.m in Sources */, 9D449EED1E6EDD4100E7E80B /* ADJPackageBuilder.m in Sources */, 6FAB78AF2636DD6B00773869 /* ADJLinkResolution.m in Sources */, 9D449EF01E6EDD4100E7E80B /* ADJResponseData.m in Sources */, @@ -497,6 +496,7 @@ 9D2F24112447DE0A00B7CA90 /* ADJSubscription.m in Sources */, 9D449EEE1E6EDD4100E7E80B /* ADJPackageHandler.m in Sources */, 9D449EE91E6EDD4100E7E80B /* ADJEventFailure.m in Sources */, + 07C8C7EA2B8F4404006979A1 /* ADJPurchase.m in Sources */, 9D449EF41E6EDD4100E7E80B /* ADJSessionSuccess.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m b/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m index 069e7293c..af10d44fb 100644 --- a/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m +++ b/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m @@ -30,6 +30,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { + NSLog(@"Scheme based deep link opened an app: %@", url); + // Pass deep link to Adjust in order to potentially reattribute user. + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend [Adjust appWillOpenUrl:url]; return YES; } diff --git a/examples/AdjustExample-iMessage/AdjustExample-iMessage.xcodeproj/project.pbxproj b/examples/AdjustExample-iMessage/AdjustExample-iMessage.xcodeproj/project.pbxproj index 55e2127af..00af58cba 100644 --- a/examples/AdjustExample-iMessage/AdjustExample-iMessage.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-iMessage/AdjustExample-iMessage.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 07C8C7E02B8F43AA006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7DD2B8F43A9006979A1 /* ADJPurchase.m */; }; + 07C8C7E12B8F43AA006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7DE2B8F43A9006979A1 /* ADJPurchaseVerificationHandler.m */; }; + 07C8C7E22B8F43AA006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7DF2B8F43A9006979A1 /* ADJPurchaseVerificationResult.m */; }; 6F84514A25B1B1F40004C7C0 /* ADJThirdPartySharing.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F84514825B1B1F40004C7C0 /* ADJThirdPartySharing.m */; }; 6FAB78BC2636DDAF00773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78BA2636DDAE00773869 /* ADJLinkResolution.m */; }; 6FBEE91A24E4218C00FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE91824E4218B00FEF3F1 /* ADJUrlStrategy.m */; }; @@ -76,6 +79,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 07C8C7DA2B8F43A9006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = ""; }; + 07C8C7DB2B8F43A9006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = ""; }; + 07C8C7DC2B8F43A9006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = ""; }; + 07C8C7DD2B8F43A9006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = ""; }; + 07C8C7DE2B8F43A9006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = ""; }; + 07C8C7DF2B8F43A9006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = ""; }; 6F84514825B1B1F40004C7C0 /* ADJThirdPartySharing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJThirdPartySharing.m; sourceTree = ""; }; 6F84514925B1B1F40004C7C0 /* ADJThirdPartySharing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJThirdPartySharing.h; sourceTree = ""; }; 6FAB78BA2636DDAE00773869 /* ADJLinkResolution.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJLinkResolution.m; sourceTree = ""; }; @@ -291,6 +300,12 @@ 6FAB78BA2636DDAE00773869 /* ADJLinkResolution.m */, 9D49D175290FEC2000042345 /* ADJSKAdNetwork.h */, 9D49D176290FEC2000042345 /* ADJSKAdNetwork.m */, + 07C8C7DB2B8F43A9006979A1 /* ADJPurchase.h */, + 07C8C7DD2B8F43A9006979A1 /* ADJPurchase.m */, + 07C8C7DA2B8F43A9006979A1 /* ADJPurchaseVerificationHandler.h */, + 07C8C7DE2B8F43A9006979A1 /* ADJPurchaseVerificationHandler.m */, + 07C8C7DC2B8F43A9006979A1 /* ADJPurchaseVerificationResult.h */, + 07C8C7DF2B8F43A9006979A1 /* ADJPurchaseVerificationResult.m */, ); name = Adjust; path = ../../../Adjust; @@ -416,6 +431,7 @@ 9D01686920FF88F60029CFFF /* ADJActivityKind.m in Sources */, 9D01685F20FF88F60029CFFF /* ADJEventSuccess.m in Sources */, 9D01685920FF88F60029CFFF /* ADJRequestHandler.m in Sources */, + 07C8C7E12B8F43AA006979A1 /* ADJPurchaseVerificationHandler.m in Sources */, 9D01686420FF88F60029CFFF /* ADJLogger.m in Sources */, 9D01687020FF88F60029CFFF /* ADJUtil.m in Sources */, 9D01685B20FF88F60029CFFF /* ADJSdkClickHandler.m in Sources */, @@ -433,8 +449,10 @@ 9D01685E20FF88F60029CFFF /* ADJEventFailure.m in Sources */, 9D3A2AE72626518E00BD6E44 /* ADJAdRevenue.m in Sources */, 9D01685720FF88F60029CFFF /* ADJTimerOnce.m in Sources */, + 07C8C7E02B8F43AA006979A1 /* ADJPurchase.m in Sources */, 9D01686220FF88F60029CFFF /* ADJTimerCycle.m in Sources */, 9D01686D20FF88F60029CFFF /* ADJAttribution.m in Sources */, + 07C8C7E22B8F43AA006979A1 /* ADJPurchaseVerificationResult.m in Sources */, 9D01686320FF88F60029CFFF /* ADJSessionParameters.m in Sources */, 9D01686B20FF88F60029CFFF /* NSData+ADJAdditions.m in Sources */, 9D01685C20FF88F60029CFFF /* ADJEvent.m in Sources */, diff --git a/examples/AdjustExample-iWatch/AdjustExample-iWatch.xcodeproj/project.pbxproj b/examples/AdjustExample-iWatch/AdjustExample-iWatch.xcodeproj/project.pbxproj index d0476252b..f43dde39c 100644 --- a/examples/AdjustExample-iWatch/AdjustExample-iWatch.xcodeproj/project.pbxproj +++ b/examples/AdjustExample-iWatch/AdjustExample-iWatch.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 07C8C7FB2B8F45B1006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7F52B8F45B1006979A1 /* ADJPurchaseVerificationResult.m */; }; + 07C8C7FC2B8F45B1006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7F82B8F45B1006979A1 /* ADJPurchaseVerificationHandler.m */; }; + 07C8C7FD2B8F45B1006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7F92B8F45B1006979A1 /* ADJPurchase.m */; }; 6F84514425B1B1DB0004C7C0 /* ADJThirdPartySharing.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F84514325B1B1DB0004C7C0 /* ADJThirdPartySharing.m */; }; 6FAB78B62636DD9600773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78B52636DD9600773869 /* ADJLinkResolution.m */; }; 6FBEE91724E4215E00FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE91624E4215E00FEF3F1 /* ADJUrlStrategy.m */; }; @@ -107,6 +110,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 07C8C7F52B8F45B1006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = ""; }; + 07C8C7F62B8F45B1006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = ""; }; + 07C8C7F72B8F45B1006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = ""; }; + 07C8C7F82B8F45B1006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = ""; }; + 07C8C7F92B8F45B1006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = ""; }; + 07C8C7FA2B8F45B1006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = ""; }; 6F84514225B1B1DB0004C7C0 /* ADJThirdPartySharing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJThirdPartySharing.h; sourceTree = ""; }; 6F84514325B1B1DB0004C7C0 /* ADJThirdPartySharing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJThirdPartySharing.m; sourceTree = ""; }; 6FAB78B42636DD9600773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = ""; }; @@ -303,6 +312,12 @@ 6FAB78B52636DD9600773869 /* ADJLinkResolution.m */, 9D49D173290FEC0F00042345 /* ADJSKAdNetwork.h */, 9D49D172290FEC0F00042345 /* ADJSKAdNetwork.m */, + 07C8C7FA2B8F45B1006979A1 /* ADJPurchase.h */, + 07C8C7F92B8F45B1006979A1 /* ADJPurchase.m */, + 07C8C7F62B8F45B1006979A1 /* ADJPurchaseVerificationHandler.h */, + 07C8C7F82B8F45B1006979A1 /* ADJPurchaseVerificationHandler.m */, + 07C8C7F72B8F45B1006979A1 /* ADJPurchaseVerificationResult.h */, + 07C8C7F52B8F45B1006979A1 /* ADJPurchaseVerificationResult.m */, ); name = Adjust; path = ../../../Adjust; @@ -563,6 +578,7 @@ 9DF7ACB71CB4FF6400D3591F /* AdjustLoggingHelper.m in Sources */, 9D449FAC1E6EE72000E7E80B /* ADJAttributionHandler.m in Sources */, 9D449FB81E6EE72000E7E80B /* ADJRequestHandler.m in Sources */, + 07C8C7FC2B8F45B1006979A1 /* ADJPurchaseVerificationHandler.m in Sources */, 9D449FB11E6EE72000E7E80B /* ADJEvent.m in Sources */, 9DF7AC191CB4FEDB00D3591F /* main.m in Sources */, 9D2F24172447DE3400B7CA90 /* ADJSubscription.m in Sources */, @@ -571,9 +587,11 @@ 9D449FBC1E6EE72000E7E80B /* ADJSessionParameters.m in Sources */, 9DF92DA52630EE8E000FC3FC /* ADJPackageParams.m in Sources */, 9D49D174290FEC0F00042345 /* ADJSKAdNetwork.m in Sources */, + 07C8C7FD2B8F45B1006979A1 /* ADJPurchase.m in Sources */, 6F84514425B1B1DB0004C7C0 /* ADJThirdPartySharing.m in Sources */, 9D449FB61E6EE72000E7E80B /* ADJPackageBuilder.m in Sources */, 9D449FBD1E6EE72000E7E80B /* ADJSessionSuccess.m in Sources */, + 07C8C7FB2B8F45B1006979A1 /* ADJPurchaseVerificationResult.m in Sources */, 6FBEE91724E4215E00FEF3F1 /* ADJUrlStrategy.m in Sources */, 9D449FB51E6EE72000E7E80B /* ADJLogger.m in Sources */, 9D449FB91E6EE72000E7E80B /* ADJResponseData.m in Sources */, From 8155404596a04f45651cabc0d8e6e8088a1d665f Mon Sep 17 00:00:00 2001 From: Aditi3 Date: Wed, 28 Feb 2024 12:06:08 +0100 Subject: [PATCH 5/5] chore: minor comments cleanup --- .../AdjustExample-FbPixel/AppDelegate.m | 1 - .../AdjustExample-WebView/AppDelegate.m | 1 - .../AdjustExample-iWatch/AppDelegate.m | 7 ++++++- .../AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m | 1 - 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m index 47cf39eb6..2bf44baf0 100644 --- a/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m +++ b/examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m @@ -24,7 +24,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { NSLog(@"Scheme based deep link opened an app: %@", url); - // Pass deep link to Adjust in order to potentially reattribute user. // add your code below to handle deep link // (e.g., open deep link content) // url object contains the deep link diff --git a/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m b/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m index af10d44fb..3ac9c1f8d 100644 --- a/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m +++ b/examples/AdjustExample-WebView/AdjustExample-WebView/AppDelegate.m @@ -31,7 +31,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { NSLog(@"Scheme based deep link opened an app: %@", url); - // Pass deep link to Adjust in order to potentially reattribute user. // add your code below to handle deep link // (e.g., open deep link content) // url object contains the deep link diff --git a/examples/AdjustExample-iWatch/AdjustExample-iWatch/AppDelegate.m b/examples/AdjustExample-iWatch/AdjustExample-iWatch/AppDelegate.m index ad86a6366..999882cb1 100644 --- a/examples/AdjustExample-iWatch/AdjustExample-iWatch/AppDelegate.m +++ b/examples/AdjustExample-iWatch/AdjustExample-iWatch/AppDelegate.m @@ -31,8 +31,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { + NSLog(@"Scheme based deep link opened an app: %@", url); + // add your code below to handle deep link + // (e.g., open deep link content) + // url object contains the deep link + + // Call the below method to send deep link to Adjust backend [Adjust appWillOpenUrl:url]; - return YES; } diff --git a/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m b/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m index dec896738..7b31e3a4c 100644 --- a/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m +++ b/examples/AdjustExample-tvOS/AdjustExample-tvOS/AppDelegate.m @@ -76,7 +76,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { NSLog(@"Scheme based deep link opened an app: %@", url); - // Pass deep link to Adjust in order to potentially reattribute user. // add your code below to handle deep link // (e.g., open deep link content) // url object contains the deep link