-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add handling of deeplink referrer url
- Loading branch information
Showing
14 changed files
with
161 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// ADJDeeplink.h | ||
// Adjust | ||
// | ||
// Created by Uglješa Erceg (@uerceg) on 18th July 2024. | ||
// Copyright © 2024-Present Adjust. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface ADJDeeplink : NSObject | ||
|
||
@property (nonatomic, copy, readonly, nonnull) NSURL *deeplink; | ||
|
||
@property (nonatomic, copy, nullable) NSURL *referrer; | ||
|
||
- (nullable ADJDeeplink *)initWithDeeplink:(nonnull NSURL *)deeplink; | ||
|
||
@end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// ADJDeeplink.m | ||
// Adjust | ||
// | ||
// Created by Uglješa Erceg (@uerceg) on 18th July 2024. | ||
// Copyright © 2024-Present Adjust. All rights reserved. | ||
// | ||
|
||
#import "ADJDeeplink.h" | ||
|
||
@implementation ADJDeeplink | ||
|
||
- (id)initWithDeeplink:(NSURL *)deeplink { | ||
self = [super init]; | ||
if (self == nil) { | ||
return nil; | ||
} | ||
|
||
_deeplink = deeplink; | ||
|
||
return self; | ||
} | ||
|
||
@end |
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
Oops, something went wrong.