Skip to content

Commit e2d063a

Browse files
authored
Merge pull request #758 from adjust/v540
Version 5.4.0
2 parents ddb56a5 + 1f4202d commit e2d063a

File tree

25 files changed

+270
-6
lines changed

25 files changed

+270
-6
lines changed

Adjust.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Adjust"
33
s.module_name = "AdjustSdk"
4-
s.version = "5.3.0"
4+
s.version = "5.4.0"
55
s.summary = "This is the iOS SDK of Adjust. You can read more about it at https://adjust.com."
66
s.homepage = "https://github.com/adjust/ios_sdk"
77
s.license = { :type => 'MIT', :file => 'LICENSE' }

Adjust.xcodeproj/project.pbxproj

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,24 @@
2929
07000F962C47BEAF00F40775 /* AdjustBridgeConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 07000F912C47BEAF00F40775 /* AdjustBridgeConstants.m */; };
3030
07000F972C47BEAF00F40775 /* AdjustBridgeConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 07000F912C47BEAF00F40775 /* AdjustBridgeConstants.m */; };
3131
071684DE2C0471C800B8B9FD /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 07BFEAA12A49E3DA004E29D9 /* PrivacyInfo.xcprivacy */; };
32+
07BC5A982D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
33+
07BC5A992D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
34+
07BC5A9A2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
35+
07BC5A9B2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
36+
07BC5A9C2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
37+
07BC5A9D2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
38+
07BC5A9E2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
39+
07BC5A9F2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
40+
07BC5AA02D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
41+
07BC5AA12D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
42+
07BC5AA22D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
43+
07BC5AA32D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
44+
07BC5AA42D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
45+
07BC5AA52D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
46+
07BC5AA62D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
47+
07BC5AA72D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
48+
07BC5AA82D79DCE9006CC345 /* ADJStoreInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
49+
07BC5AA92D79DCE9006CC345 /* ADJStoreInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */; };
3250
07BFEAA22A49E3DA004E29D9 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 07BFEAA12A49E3DA004E29D9 /* PrivacyInfo.xcprivacy */; };
3351
07BFEAA32A49E3DA004E29D9 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 07BFEAA12A49E3DA004E29D9 /* PrivacyInfo.xcprivacy */; };
3452
07BFEAA42A49E3DA004E29D9 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 07BFEAA12A49E3DA004E29D9 /* PrivacyInfo.xcprivacy */; };
@@ -895,6 +913,8 @@
895913
/* Begin PBXFileReference section */
896914
07000F902C47BEAF00F40775 /* AdjustBridgeConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AdjustBridgeConstants.h; sourceTree = "<group>"; };
897915
07000F912C47BEAF00F40775 /* AdjustBridgeConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AdjustBridgeConstants.m; sourceTree = "<group>"; };
916+
07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ADJStoreInfo.h; sourceTree = "<group>"; };
917+
07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ADJStoreInfo.m; sourceTree = "<group>"; };
898918
07BFEAA12A49E3DA004E29D9 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
899919
07D5CAB12C50EF3100C112DC /* AdjustBridgeRegister.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AdjustBridgeRegister.h; sourceTree = "<group>"; };
900920
07D5CAC42C50EF3100C112DC /* AdjustBridgeRegister.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AdjustBridgeRegister.m; sourceTree = "<group>"; };
@@ -1269,6 +1289,8 @@
12691289
968173861C3C2D36002AE1DE /* ADJSessionFailure.m */,
12701290
968173811C3C2D07002AE1DE /* ADJSessionSuccess.h */,
12711291
968173821C3C2D07002AE1DE /* ADJSessionSuccess.m */,
1292+
07BC5A962D79DCE9006CC345 /* ADJStoreInfo.h */,
1293+
07BC5A972D79DCE9006CC345 /* ADJStoreInfo.m */,
12721294
9D651BF425B25A64006D69D6 /* ADJThirdPartySharing.h */,
12731295
9D651BE125B25A64006D69D6 /* ADJThirdPartySharing.m */,
12741296
96E5E34C18BBB48A008E7B30 /* Adjust.h */,
@@ -1435,6 +1457,7 @@
14351457
0A584CDB2C3E95B10071A651 /* ADJAdRevenue.h in Headers */,
14361458
0A584CDC2C3E95B10071A651 /* ADJAppStorePurchase.h in Headers */,
14371459
0A584CDD2C3E95B10071A651 /* ADJAppStoreSubscription.h in Headers */,
1460+
07BC5A9B2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
14381461
0A584CDE2C3E95B10071A651 /* ADJAttribution.h in Headers */,
14391462
0A584CDF2C3E95B10071A651 /* ADJConfig.h in Headers */,
14401463
0A584CE02C3E95B10071A651 /* ADJEvent.h in Headers */,
@@ -1481,6 +1504,7 @@
14811504
0A584D022C3E96250071A651 /* ADJAdRevenue.h in Headers */,
14821505
0A584D032C3E96250071A651 /* ADJAppStorePurchase.h in Headers */,
14831506
0A584D042C3E96250071A651 /* ADJAppStoreSubscription.h in Headers */,
1507+
07BC5A9D2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
14841508
0A584D052C3E96250071A651 /* ADJAttribution.h in Headers */,
14851509
0A584D062C3E96250071A651 /* ADJConfig.h in Headers */,
14861510
0A584D072C3E96250071A651 /* ADJEvent.h in Headers */,
@@ -1527,6 +1551,7 @@
15271551
0A584D292C3E968A0071A651 /* ADJAdRevenue.h in Headers */,
15281552
0A584D2A2C3E968A0071A651 /* ADJAppStorePurchase.h in Headers */,
15291553
0A584D2B2C3E968A0071A651 /* ADJAppStoreSubscription.h in Headers */,
1554+
07BC5AA02D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
15301555
0A584D2C2C3E968A0071A651 /* ADJAttribution.h in Headers */,
15311556
0A584D2D2C3E968A0071A651 /* ADJConfig.h in Headers */,
15321557
0A584D2E2C3E968A0071A651 /* ADJEvent.h in Headers */,
@@ -1597,6 +1622,7 @@
15971622
0A584D6B2C3E97020071A651 /* ADJAttributionHandler.h in Headers */,
15981623
0A584D6C2C3E97020071A651 /* ADJBackoffStrategy.h in Headers */,
15991624
0A584D6D2C3E97020071A651 /* ADJGlobalParameters.h in Headers */,
1625+
07BC5AA62D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
16001626
07000F942C47BEAF00F40775 /* AdjustBridgeConstants.h in Headers */,
16011627
0A584D6E2C3E97020071A651 /* ADJPackageBuilder.h in Headers */,
16021628
0A584D6F2C3E97020071A651 /* ADJPackageHandler.h in Headers */,
@@ -1623,6 +1649,7 @@
16231649
96BCFBCD1AC99231005A65C5 /* Adjust.h in Headers */,
16241650
96BCFBCE1AC99235005A65C5 /* ADJEvent.h in Headers */,
16251651
96BCFBD01AC9923F005A65C5 /* ADJConfig.h in Headers */,
1652+
07BC5AA42D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
16261653
9D363AC31BDA50FA00B47FE9 /* ADJLogger.h in Headers */,
16271654
96BCFBD11AC99246005A65C5 /* ADJAttribution.h in Headers */,
16281655
9DF212D42909E86A0056D579 /* ADJSKAdNetwork.h in Headers */,
@@ -1693,6 +1720,7 @@
16931720
0A584CCA2C3E95700071A651 /* ADJAttributionHandler.h in Headers */,
16941721
0A584CCB2C3E95700071A651 /* ADJBackoffStrategy.h in Headers */,
16951722
0A584CCC2C3E95700071A651 /* ADJGlobalParameters.h in Headers */,
1723+
07BC5A992D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
16961724
07000F932C47BEAF00F40775 /* AdjustBridgeConstants.h in Headers */,
16971725
0A584CCD2C3E95700071A651 /* ADJPackageBuilder.h in Headers */,
16981726
0A584CCE2C3E95700071A651 /* ADJPackageHandler.h in Headers */,
@@ -1719,6 +1747,7 @@
17191747
0A584C142C3E94B50071A651 /* ADJAdRevenue.h in Headers */,
17201748
0A584C152C3E94B50071A651 /* ADJAppStorePurchase.h in Headers */,
17211749
0A584C162C3E94B50071A651 /* ADJAppStoreSubscription.h in Headers */,
1750+
07BC5A9F2D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
17221751
0A584C172C3E94B50071A651 /* ADJAttribution.h in Headers */,
17231752
0A584C182C3E94B50071A651 /* ADJConfig.h in Headers */,
17241753
0A584C192C3E94B50071A651 /* ADJEvent.h in Headers */,
@@ -1765,6 +1794,7 @@
17651794
0A584BC92C3E944F0071A651 /* ADJAdRevenue.h in Headers */,
17661795
0A584BCA2C3E944F0071A651 /* ADJAppStorePurchase.h in Headers */,
17671796
0A584BCB2C3E944F0071A651 /* ADJAppStoreSubscription.h in Headers */,
1797+
07BC5AA22D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
17681798
0A584BCC2C3E944F0071A651 /* ADJAttribution.h in Headers */,
17691799
0A584BCD2C3E944F0071A651 /* ADJConfig.h in Headers */,
17701800
0A584BCE2C3E944F0071A651 /* ADJEvent.h in Headers */,
@@ -1811,6 +1841,7 @@
18111841
0A584C5F2C3E94FA0071A651 /* ADJAdRevenue.h in Headers */,
18121842
0A584C602C3E94FA0071A651 /* ADJAppStorePurchase.h in Headers */,
18131843
0A584C612C3E94FA0071A651 /* ADJAppStoreSubscription.h in Headers */,
1844+
07BC5AA82D79DCE9006CC345 /* ADJStoreInfo.h in Headers */,
18141845
0A584C622C3E94FA0071A651 /* ADJAttribution.h in Headers */,
18151846
0A584C632C3E94FA0071A651 /* ADJConfig.h in Headers */,
18161847
0A584C642C3E94FA0071A651 /* ADJEvent.h in Headers */,
@@ -2414,6 +2445,7 @@
24142445
9D4CC6D52C0735B400A1E0C0 /* ADJAdditions.m in Sources */,
24152446
0AB1C99A27DD4B3100509231 /* Adjust.m in Sources */,
24162447
0AB1C99B27DD4B3100509231 /* ADJActivityHandler.m in Sources */,
2448+
07BC5A9A2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
24172449
9D7D3DF72C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
24182450
0AB1C99C27DD4B3100509231 /* ADJActivityKind.m in Sources */,
24192451
0AB1C99D27DD4B3100509231 /* ADJActivityPackage.m in Sources */,
@@ -2459,6 +2491,7 @@
24592491
9D4CC6E82C0735BC00A1E0C0 /* ADJAdditions.m in Sources */,
24602492
0AB1CA3227DF49CB00509231 /* Adjust.m in Sources */,
24612493
0AB1CA3327DF49CB00509231 /* ADJActivityHandler.m in Sources */,
2494+
07BC5A9C2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
24622495
9D7D3DF82C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
24632496
0AB1CA3427DF49CC00509231 /* ADJActivityKind.m in Sources */,
24642497
0AB1CA3527DF49CC00509231 /* ADJActivityPackage.m in Sources */,
@@ -2504,6 +2537,7 @@
25042537
9D4CC6E92C0735C400A1E0C0 /* ADJAdditions.m in Sources */,
25052538
0AB1CA7527DF61F200509231 /* Adjust.m in Sources */,
25062539
0AB1CA7627DF61F200509231 /* ADJActivityHandler.m in Sources */,
2540+
07BC5AA12D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
25072541
9D7D3DFB2C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
25082542
0AB1CA7727DF61F200509231 /* ADJActivityKind.m in Sources */,
25092543
0AB1CA7827DF61F200509231 /* ADJActivityPackage.m in Sources */,
@@ -2552,6 +2586,7 @@
25522586
0AB1CB0E27DF68C100509231 /* ADJActivityKind.m in Sources */,
25532587
0AB1CB0F27DF68C100509231 /* ADJActivityPackage.m in Sources */,
25542588
0AB1CB1027DF68C100509231 /* ADJActivityState.m in Sources */,
2589+
07BC5AA72D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
25552590
0AB1CB1127DF68C100509231 /* ADJAdjustFactory.m in Sources */,
25562591
0AB1CB1227DF68C100509231 /* ADJLogger.m in Sources */,
25572592
0AB1CB1327DF68C100509231 /* ADJPackageBuilder.m in Sources */,
@@ -2609,6 +2644,7 @@
26092644
9DB561862C072BAF0004CCAD /* ADJUrlStrategy.m in Sources */,
26102645
9DF92D842630ED02000FC3FC /* ADJPackageParams.m in Sources */,
26112646
96E5E38118BBB48A008E7B30 /* Adjust.m in Sources */,
2647+
07BC5AA52D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
26122648
9D7D3DED2C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
26132649
96E5E38B18BBB48A008E7B30 /* ADJActivityHandler.m in Sources */,
26142650
96E5E38C18BBB48A008E7B30 /* ADJActivityKind.m in Sources */,
@@ -2657,6 +2693,7 @@
26572693
0A584C882C3E952C0071A651 /* ADJAttribution.m in Sources */,
26582694
0A584C892C3E952C0071A651 /* ADJConfig.m in Sources */,
26592695
0A584C8A2C3E952C0071A651 /* ADJEvent.m in Sources */,
2696+
07BC5A982D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
26602697
0A584C8B2C3E952C0071A651 /* ADJEventFailure.m in Sources */,
26612698
0A584C8C2C3E952C0071A651 /* ADJEventSuccess.m in Sources */,
26622699
0A584C8D2C3E952C0071A651 /* ADJLinkResolution.m in Sources */,
@@ -2703,6 +2740,7 @@
27032740
0A584BEF2C3E949B0071A651 /* ADJAdRevenue.m in Sources */,
27042741
0A584BF02C3E949B0071A651 /* ADJAppStorePurchase.m in Sources */,
27052742
0A584BF12C3E949B0071A651 /* ADJAppStoreSubscription.m in Sources */,
2743+
07BC5A9E2D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
27062744
9D7D3DF02C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
27072745
0A584BF22C3E949B0071A651 /* ADJAttribution.m in Sources */,
27082746
0A584BF32C3E949B0071A651 /* ADJConfig.m in Sources */,
@@ -2748,6 +2786,7 @@
27482786
0A584BA42C3E94230071A651 /* ADJAdRevenue.m in Sources */,
27492787
0A584BA52C3E94230071A651 /* ADJAppStorePurchase.m in Sources */,
27502788
0A584BA62C3E94240071A651 /* ADJAppStoreSubscription.m in Sources */,
2789+
07BC5AA32D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
27512790
9D7D3DEF2C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
27522791
0A584BA72C3E94240071A651 /* ADJAttribution.m in Sources */,
27532792
0A584BA82C3E94240071A651 /* ADJConfig.m in Sources */,
@@ -2793,6 +2832,7 @@
27932832
0A584C3A2C3E94E70071A651 /* ADJAdRevenue.m in Sources */,
27942833
0A584C3B2C3E94E70071A651 /* ADJAppStorePurchase.m in Sources */,
27952834
0A584C3C2C3E94E70071A651 /* ADJAppStoreSubscription.m in Sources */,
2835+
07BC5AA92D79DCE9006CC345 /* ADJStoreInfo.m in Sources */,
27962836
9D7D3DF32C49A8B200FACB18 /* ADJDeeplink.m in Sources */,
27972837
0A584C3D2C3E94E70071A651 /* ADJAttribution.m in Sources */,
27982838
0A584C3E2C3E94E70071A651 /* ADJConfig.m in Sources */,

Adjust/ADJConfig.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
@class ADJEventFailure;
1515
@class ADJSessionSuccess;
1616
@class ADJSessionFailure;
17+
@class ADJStoreInfo;
1718
typedef NS_ENUM(NSUInteger, ADJLogLevel);
1819

1920
#pragma mark - AdjustDelegate methods
@@ -256,6 +257,11 @@ typedef NS_ENUM(NSUInteger, ADJLogLevel);
256257
*/
257258
@property (nonatomic, assign) NSInteger eventDeduplicationIdsMaxSize;
258259

260+
/**
261+
* @brief The store information associated with this object.
262+
*/
263+
@property (nonatomic, copy, nonnull) ADJStoreInfo *storeInfo;
264+
259265
# pragma mark - AdjustConfig construtors
260266

261267
/**

Adjust/ADJConfig.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#import "ADJAdjustFactory.h"
1111
#import "ADJLogger.h"
1212
#import "ADJUtil.h"
13+
#import "ADJStoreInfo.h"
1314

1415
@interface ADJConfig()
1516

@@ -140,6 +141,12 @@ - (void)setUrlStrategy:(nullable NSArray *)urlStrategyDomains
140141
_isDataResidency = isDataResidency;
141142
}
142143

144+
- (void)setStoreInfo:(ADJStoreInfo *)storeInfo {
145+
@synchronized (self) {
146+
_storeInfo = [storeInfo copy];
147+
}
148+
}
149+
143150
- (void)setDelegate:(NSObject<AdjustDelegate> *)delegate {
144151
BOOL hasResponseDelegate = NO;
145152
BOOL implementsDeeplinkCallback = NO;
@@ -243,6 +250,7 @@ - (id)copyWithZone:(NSZone *)zone {
243250
copy->_isIdfaReadingEnabled = self.isIdfaReadingEnabled;
244251
copy->_isIdfvReadingEnabled = self.isIdfvReadingEnabled;
245252
copy->_isDeviceIdsReadingOnceEnabled = self.isDeviceIdsReadingOnceEnabled;
253+
copy->_storeInfo = [self.storeInfo copyWithZone:zone];
246254
copy.eventDeduplicationIdsMaxSize = self.eventDeduplicationIdsMaxSize;
247255
copy->_isAppTrackingTransparencyUsageEnabled = self.isAppTrackingTransparencyUsageEnabled;
248256
copy->_isFirstSessionDelayEnabled = self.isFirstSessionDelayEnabled;

Adjust/ADJStoreInfo.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//
2+
// ADJStoreInfo.h
3+
// Adjust
4+
//
5+
// Created by Aditi Agrawal on 12/03/25.
6+
// Copyright © 2025 Adjust GmbH. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface ADJStoreInfo : NSObject <NSCopying>
12+
13+
/**
14+
* @brief StoreName.
15+
*/
16+
@property (nonatomic, copy, readonly, nonnull) NSString *storeName;
17+
18+
/**
19+
* @brief StoreAppId.
20+
*/
21+
@property (nonatomic, copy, nonnull) NSString *storeAppId;
22+
23+
/**
24+
* @brief Initializes a new instance of ADJStoreInfo with the given store name.
25+
*
26+
* @param storeName The name of the store.
27+
*
28+
* @return A newly-initialized ADJStoreInfo instance, or nil if initialization fails.
29+
*/
30+
- (nullable id)initWithStoreName:(nonnull NSString *)storeName;
31+
32+
/**
33+
* @brief Unavailable. Use initWithStoreName: instead.
34+
*/
35+
- (nonnull id)init NS_UNAVAILABLE;
36+
37+
@end

Adjust/ADJStoreInfo.m

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// ADJStoreInfo.m
3+
// Adjust
4+
//
5+
// Created by Aditi Agrawal on 06/03/25.
6+
// Copyright © 2025 Adjust GmbH. All rights reserved.
7+
//
8+
9+
#import "ADJStoreInfo.h"
10+
11+
@implementation ADJStoreInfo
12+
13+
#pragma mark - Public methods
14+
15+
- (nullable id)initWithStoreName:(nonnull NSString *)storeName {
16+
self = [super init];
17+
if (self == nil) {
18+
return nil;
19+
}
20+
21+
_storeName = [storeName copy];
22+
23+
return self;
24+
}
25+
26+
- (void)setStoreAppId:(NSString *)storeAppId {
27+
@synchronized (self) {
28+
_storeAppId = [storeAppId copy];
29+
}
30+
}
31+
32+
- (id)copyWithZone:(NSZone *)zone {
33+
ADJStoreInfo *copy = [[[self class] allocWithZone:zone] init];
34+
35+
if (copy) {
36+
copy->_storeName = [self.storeName copyWithZone:zone];
37+
copy->_storeAppId = [self.storeAppId copyWithZone:zone];
38+
}
39+
40+
return copy;
41+
}
42+
43+
@end

Adjust/Adjust.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Adjust.h
33
// Adjust SDK
44
//
5-
// V5.3.0
5+
// V5.4.0
66
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
77
// Copyright (c) 2012-Present Adjust GmbH. All rights reserved.
88
//

Adjust/Internal/ADJPackageBuilder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#import "ADJGlobalParameters.h"
1616
#import "ADJActivityHandler.h"
1717
#import "ADJThirdPartySharing.h"
18+
#import "ADJStoreInfo.h"
1819

1920
@interface ADJPackageBuilder : NSObject
2021

Adjust/Internal/ADJPackageBuilder.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ - (NSMutableDictionary *)getSessionParameters {
370370
[self addIdfvIfPossibleToParameters:parameters];
371371
[self injectFeatureFlagsWithParameters:parameters];
372372
[self injectLastSkanUpdateWithParameters:parameters];
373+
[self injectStoreInfoToParameters:parameters];
373374

374375
return parameters;
375376
}
@@ -978,6 +979,15 @@ - (void)injectLastSkanUpdateWithParameters:(NSMutableDictionary *)parameters {
978979
}
979980
}
980981

982+
- (void)injectStoreInfoToParameters:(NSMutableDictionary *)parameters {
983+
if (self.adjustConfig.storeInfo != nil) {
984+
[ADJPackageBuilder parameters:parameters setString:self.adjustConfig.storeInfo.storeName
985+
forKey:@"store_name_from_client"];
986+
[ADJPackageBuilder parameters:parameters setString:self.adjustConfig.storeInfo.storeAppId
987+
forKey:@"store_app_id_from_client"];
988+
}
989+
}
990+
981991
- (ADJActivityPackage *)defaultActivityPackage {
982992
ADJActivityPackage *activityPackage = [[ADJActivityPackage alloc] init];
983993
activityPackage.clientSdk = self.packageParams.clientSdk;

Adjust/Internal/ADJUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
static NSRegularExpression *goLinkUniversalLinkRegex = nil;
3232
static NSRegularExpression *excludedDeeplinkRegex = nil;
3333

34-
static NSString * const kClientSdk = @"ios5.3.0";
34+
static NSString * const kClientSdk = @"ios5.4.0";
3535
static NSString * const kDeeplinkParam = @"deep_link=";
3636
static NSString * const kSchemeDelimiter = @"://";
3737
static NSString * const kDefaultScheme = @"AdjustUniversalScheme";

0 commit comments

Comments
 (0)