Skip to content

Commit

Permalink
Merge pull request #380 from adjust/update_examples
Browse files Browse the repository at this point in the history
Update examples project
  • Loading branch information
Aditi3 authored Feb 28, 2024
2 parents d8756d6 + 8155404 commit 17351fd
Show file tree
Hide file tree
Showing 11 changed files with 129 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
07AF832227BD3CBF00C5DD9E /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = "<group>"; };
07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = "<group>"; };
07C8C7EE2B8F447B006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = "<group>"; };
07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = "<group>"; };
07C8C7F02B8F447B006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = "<group>"; };
07C8C7F12B8F447B006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = "<group>"; };
6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJLinkResolution.m; sourceTree = "<group>"; };
6FAB78C02636DDC400773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = "<group>"; };
9D49D178290FEC2E00042345 /* ADJSKAdNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSKAdNetwork.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 */,
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
return YES;
}

- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options {
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)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;
}
Expand Down
6 changes: 5 additions & 1 deletion examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
07C8C7E32B8F4404006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = "<group>"; };
07C8C7E42B8F4404006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = "<group>"; };
07C8C7E52B8F4404006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = "<group>"; };
07C8C7E62B8F4404006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = "<group>"; };
07C8C7E72B8F4404006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = "<group>"; };
07C8C7E82B8F4404006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = "<group>"; };
6F84513B25B1B1B40004C7C0 /* ADJThirdPartySharing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJThirdPartySharing.m; sourceTree = "<group>"; };
6F84513C25B1B1B40004C7C0 /* ADJThirdPartySharing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJThirdPartySharing.h; sourceTree = "<group>"; };
6FAB78AD2636DD6B00773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 */,
Expand All @@ -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 */,
Expand All @@ -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 */,
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}

- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)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;
}
Expand Down
Loading

0 comments on commit 17351fd

Please sign in to comment.