Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.1.1 #751

Merged
merged 3 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 Adjust.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Adjust"
s.module_name = "AdjustSdk"
s.version = "5.1.0"
s.version = "5.1.1"
s.summary = "This is the iOS SDK of Adjust. You can read more about it at https://adjust.com."
s.homepage = "https://github.com/adjust/ios_sdk"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion Adjust/Adjust.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Adjust.h
// Adjust SDK
//
// V5.1.0
// V5.1.1
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
// Copyright (c) 2012-Present Adjust GmbH. All rights reserved.
//
Expand Down
12 changes: 10 additions & 2 deletions Adjust/Internal/ADJAttributionHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,19 @@ - (void)getAttribution {
}

- (void)pauseSending {
self.paused = YES;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJAttributionHandler* selfI) {
selfI.paused = YES;
}];
}

- (void)resumeSending {
self.paused = NO;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJAttributionHandler* selfI) {
selfI.paused = NO;
}];
}

#pragma mark - internal
Expand Down
12 changes: 10 additions & 2 deletions Adjust/Internal/ADJPackageHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,19 @@ - (NSTimeInterval)retryPackageUsingBackoffWithResponse:(ADJResponseData *)respon
}

- (void)pauseSending {
self.paused = YES;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJPackageHandler* selfI) {
selfI.paused = YES;
}];
}

- (void)resumeSending {
self.paused = NO;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJPackageHandler* selfI) {
selfI.paused = NO;
}];
}

- (void)updatePackagesWithAttStatus:(int)attStatus {
Expand Down
14 changes: 11 additions & 3 deletions Adjust/Internal/ADJPurchaseVerificationHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,20 @@ - (id)initWithActivityHandler:(id<ADJActivityHandler>)activityHandler
}

- (void)pauseSending {
self.paused = YES;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJPurchaseVerificationHandler *selfI) {
selfI.paused = YES;
}];
}

- (void)resumeSending {
self.paused = NO;
[self sendNextPurchaseVerificationPackage];
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJPurchaseVerificationHandler *selfI) {
selfI.paused = NO;
[selfI sendNextPurchaseVerificationPackage];
}];
}

- (void)sendPurchaseVerificationPackage:(ADJActivityPackage *)purchaseVerificationPackage {
Expand Down
14 changes: 11 additions & 3 deletions Adjust/Internal/ADJSdkClickHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,20 @@ - (id)initWithActivityHandler:(id<ADJActivityHandler>)activityHandler
}

- (void)pauseSending {
self.paused = YES;
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJSdkClickHandler *selfI) {
selfI.paused = YES;
}];
}

- (void)resumeSending {
self.paused = NO;
[self sendNextSdkClick];
[ADJUtil launchInQueue:self.internalQueue
selfInject:self
block:^(ADJSdkClickHandler *selfI) {
selfI.paused = NO;
[selfI sendNextSdkClick];
}];
}

- (void)sendSdkClick:(ADJActivityPackage *)sdkClickPackage {
Expand Down
2 changes: 1 addition & 1 deletion Adjust/Internal/ADJUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
static NSRegularExpression *goLinkUniversalLinkRegex = nil;
static NSRegularExpression *excludedDeeplinkRegex = nil;

static NSString * const kClientSdk = @"ios5.1.0";
static NSString * const kClientSdk = @"ios5.1.1";
static NSString * const kDeeplinkParam = @"deep_link=";
static NSString * const kSchemeDelimiter = @"://";
static NSString * const kDefaultScheme = @"AdjustUniversalScheme";
Expand Down
2 changes: 1 addition & 1 deletion AdjustBridge/AdjustBridgeRegister.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function canSend(okCheck, errReason) {
if (this.sdkPrefix) {
return this.sdkPrefix;
} else {
return 'web-bridge5.1.0';
return 'web-bridge5.1.1';
}
},

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### Version 5.1.0 (28th January 2025)
### Version 5.1.1 (25th February 2025)
#### Changed
- Syncrhonized resuming and pausing in all the handlers (internal changes).

---

### Version 5.1.0 (28th January 2025)
#### Added
- Added `jsonResponse` field (`NSDictionary`) to `ADJAttribution` where every key-value pair sent by the backend as part of the attribution response can be found. Equivalently, one can also find `jsonResponse` map being part of the attribution instance in the web bridge API.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0
5.1.1