Skip to content

Commit

Permalink
feat: add adjust.io to default url waterfall
Browse files Browse the repository at this point in the history
  • Loading branch information
uerceg committed Aug 2, 2024
1 parent effe22f commit 33dcf38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
17 changes: 5 additions & 12 deletions Adjust/Internal/ADJUrlStrategy.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
static NSString * const kSubscriptionUrl = @"https://subscription.adjust.com";
static NSString * const kPurchaseVerificationUrl = @"https://ssrv.adjust.com";

static NSString * const kBaseAnalyticsWorldUrl = @"https://analytics.adjust.world";
static NSString * const kBaseConsentWorldUrl = @"https://consent.adjust.world";
static NSString * const kGdprWorldUrl = @"https://gdpr.adjust.world";
static NSString * const kSubscriptionWorldUrl = @"https://subscription.adjust.world";
static NSString * const kPurchaseVerificationWorldUrl = @"https://ssrv.adjust.world";

// TODO: to be utilized
static NSString * const kBaseAnalyticsIoUrl = @"https://analytics.adjust.io";
static NSString * const kBaseConsentIoUrl = @"https://consent.adjust.io";
static NSString * const kGdprIoUrl = @"https://gdpr.adjust.io";
Expand Down Expand Up @@ -119,15 +112,15 @@ - (instancetype)initWithUrlStrategyDomains:(NSArray *)domains
}
} else {
[_baseUrlConsentChoicesArray setArray:@[kBaseConsentUrl,
kBaseConsentWorldUrl]];
kBaseConsentIoUrl]];
[_baseUrlAnalyticsChoicesArray setArray:@[kBaseAnalyticsUrl,
kBaseAnalyticsWorldUrl]];
kBaseAnalyticsIoUrl]];
[_gdprUrlChoicesArray setArray:@[kGdprUrl,
kGdprWorldUrl]];
kGdprIoUrl]];
[_subscriptionUrlChoicesArray setArray:@[kSubscriptionUrl,
kSubscriptionWorldUrl]];
kSubscriptionIoUrl]];
[_purchaseVerificationUrlChoicesArray setArray:@[kPurchaseVerificationUrl,
kPurchaseVerificationWorldUrl]];
kPurchaseVerificationIoUrl]];
}

_testUrlOverwrite = [ADJAdjustFactory testUrlOverwrite];
Expand Down
1 change: 1 addition & 0 deletions Adjust/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<key>NSPrivacyTrackingDomains</key>
<array>
<string>https://consent.adjust.com</string>
<string>https://consent.adjust.io</string>
<string>https://consent.adjust.net.in</string>
<string>https://consent.adjust.world</string>
<string>https://consent.adjust.cn</string>
Expand Down

0 comments on commit 33dcf38

Please sign in to comment.