-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from adjust/v4292
Version 4.29.2
- Loading branch information
Showing
20 changed files
with
1,549 additions
and
1,072 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "Adjust" | ||
s.version = "4.29.1" | ||
s.version = "4.29.2" | ||
s.summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com." | ||
s.homepage = "https://github.com/adjust/ios_sdk" | ||
s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } | ||
s.author = { "Christian Wellenbrock" => "[email protected]" } | ||
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.29.1" } | ||
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.29.2" } | ||
s.ios.deployment_target = '6.0' | ||
s.tvos.deployment_target = '9.0' | ||
s.framework = 'SystemConfiguration' | ||
|
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
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
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
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 |
---|---|---|
|
@@ -61,6 +61,7 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本 | |
* [Deep linking on iOS 9 and later](#deeplinking-setup-new) | ||
* [Deferred deep linking scenario](#deeplinking-deferred) | ||
* [Reattribution via deep links](#deeplinking-reattribution) | ||
* [Link resolution](#link-resolution) | ||
* [[beta] Data residency](#data-residency) | ||
* [Troubleshooting](#troubleshooting) | ||
* [Issues with delayed SDK initialisation](#ts-delayed-init) | ||
|
@@ -85,13 +86,13 @@ We will describe the steps to integrate the Adjust SDK into your iOS project. We | |
If you're using [CocoaPods][cocoapods], you can add the following line to your `Podfile` and continue from [this step](#sdk-integrate): | ||
|
||
```ruby | ||
pod 'Adjust', '~> 4.29.1' | ||
pod 'Adjust', '~> 4.29.2' | ||
``` | ||
|
||
or: | ||
|
||
```ruby | ||
pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.29.1' | ||
pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.29.2' | ||
``` | ||
|
||
--- | ||
|
@@ -1067,13 +1068,40 @@ The call to `appWillOpenUrl` should be done like this to support deep linking re | |
} | ||
``` | ||
|
||
### <a id="link-resolution"></a>Link resolution | ||
|
||
If you are serving deep links from an Email Service Provider (ESP) and need to track clicks through a custom tracking link, you can use the `resolveLinkWithUrl` method of the `ADJLinkResolution` class to resolve the link. This ensures that you record the interaction with your email tracking campaigns when a deep link is opened in your application. | ||
|
||
The `resolveLinkWithUrl` method takes the following parameters: | ||
|
||
- `url` - the deep link that opened the application | ||
- `resolveUrlSuffixArray` - the custom domains of the configured campaigns that need to be resolved | ||
- `callback` - the callback that will contain the final URL | ||
|
||
If the link received does not belong to any of the domains specified in the `resolveUrlSuffixArray`, the callback will forward the deep link URL as is. If the link does contain one of the domains specified, the SDK will attempt to resolve the link and return the resulting deep link to the `callback` parameter. The returned deep link can also be reattributed in the Adjust SDK using the `[Adjust appWillOpenUrl:]` method. | ||
|
||
> **Note**: The SDK will automatically follow up to ten redirects when attempting to resolve the URL. It will return the latest URL it has followed as the `callback` URL, meaning that if there are more than ten redirects to follow the **tenth redirect URL** will be returned. | ||
**Example** | ||
|
||
```objc | ||
[ADJLinkResolution | ||
resolveLinkWithUrl:url | ||
resolveUrlSuffixArray:@[@"example.com"] | ||
callback:^(NSURL * _Nullable resolvedLink) | ||
{ | ||
[Adjust appWillOpenUrl:resolvedLink]; | ||
}]; | ||
``` | ||
### <a id="data-residency"></a>[beta] Data residency | ||
In order to enable data residency feature, make sure to make a call to `setUrlStrategy:` method of the `ADJConfig` instance with one of the following constants: | ||
```objc | ||
[adjustConfig setUrlStrategy:ADJDataResidencyEU]; // for EU data residency region | ||
[adjustConfig setUrlStrategy:ADJDataResidencyTR]; // for Turkey data residency region | ||
[adjustConfig setUrlStrategy:ADJDataResidencyUS]; // for US data residency region | ||
``` | ||
|
||
**Note:** This feature is currently in beta testing phase. If you are interested in getting access to it, please contact your dedicated account manager or write an email to [email protected]. Please, do not turn this setting on before making sure with the support team that this feature is enabled for your app because otherwise SDK traffic will get dropped. | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
4.29.1 | ||
4.29.2 |
Oops, something went wrong.