From 33dcf386d81488b27f7dddc8d2ec7e4ebaf2f470 Mon Sep 17 00:00:00 2001 From: uerceg Date: Tue, 9 Jul 2024 23:46:55 +0200 Subject: [PATCH] feat: add adjust.io to default url waterfall --- Adjust/Internal/ADJUrlStrategy.m | 17 +++++------------ Adjust/PrivacyInfo.xcprivacy | 1 + 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Adjust/Internal/ADJUrlStrategy.m b/Adjust/Internal/ADJUrlStrategy.m index 1973a6fa6..6d2e0f70e 100644 --- a/Adjust/Internal/ADJUrlStrategy.m +++ b/Adjust/Internal/ADJUrlStrategy.m @@ -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"; @@ -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]; diff --git a/Adjust/PrivacyInfo.xcprivacy b/Adjust/PrivacyInfo.xcprivacy index af2d9c588..344679caa 100644 --- a/Adjust/PrivacyInfo.xcprivacy +++ b/Adjust/PrivacyInfo.xcprivacy @@ -7,6 +7,7 @@ NSPrivacyTrackingDomains https://consent.adjust.com + https://consent.adjust.io https://consent.adjust.net.in https://consent.adjust.world https://consent.adjust.cn