Skip to content

Commit

Permalink
* AppLoving SDK updated to v13.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimitsa committed Sep 17, 2024
1 parent cfd1811 commit 4d74c90
Show file tree
Hide file tree
Showing 28 changed files with 13 additions and 229 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ v1.44.0 - in development
|---------------------------------|---------|
| [AdaptySDK](adapty/) | 1.17.7 |
| [AppCenter](appcenter/) | 5.0.5 |
| [AppLovinSDK](applovinsdk/) | 12.6.1 |
| [AppLovinSDK](applovinsdk/) | 13.0.0 |
| [Azure](azure/) | 3.1.4 |
| [BranchMetrics](branchmetrics/) | 3.6.2 |
| [Charts](charts/) | 5.1.0 |
Expand Down
3 changes: 2 additions & 1 deletion applovinsdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

| RoboPods Version | AppLovinSDK Version |
|------------------|---------------------|
| 1.43.0-1.44.0 | 12.6.0-12.6.1 |
| 1.44.0 | 13.0.0 |
| 1.43.0 | 12.6.0 |
| 1.41.0 | 12.5.0 |
| 1.40.0 | 12.4.2 |
| 1.39.0 | 12.4.1 |
Expand Down
2 changes: 1 addition & 1 deletion applovinsdk/ios/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-applovinsdk-ios</artifactId>
<name>RoboPods AppLovinSDK iOS v12.6.1</name>
<name>RoboPods AppLovinSDK iOS v13.0.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface ALAd (ALDeprecated)
@property (nonatomic, strong, readonly) NSNumber *adIdNumber __deprecated_msg("This API has been deprecated and will be removed in a future release.");
@property (nonatomic, assign, readonly, getter=isVideoAd) BOOL videoAd __deprecated_msg("This API has been deprecated and will be removed in a future release.");
- (nullable NSString *)adValueForKey:(NSString *)key __deprecated_msg("This API has been deprecated and will be removed in a future release.");
- (nullable NSString *)adValueForKey:(NSString *)key defaultValue:(nullable NSString *)defaultValue __deprecated_msg("This API has been deprecated and will be removed in a future release.");
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ typedef void (^ALBidTokenCollectionCompletionHandler)(NSString *_Nullable bidTok
*/
- (void)loadNextAdForZoneIdentifier:(NSString *)zoneIdentifier andNotify:(id<ALAdLoadDelegate>)delegate;

/**
* A token used for advanced header bidding.
*/
@property (nonatomic, copy, readonly) NSString *bidToken;

/**
* Asynchronously generates a token used for advanced header bidding.
*
Expand All @@ -71,4 +66,8 @@ typedef void (^ALBidTokenCollectionCompletionHandler)(NSString *_Nullable bidTok

@end

@interface ALAdService(ALDeprecated)
@property (nonatomic, copy, readonly) NSString *bidToken __deprecated_msg("This API has been deprecated and will be removed in a future release. Please use collectBidTokenWithCompletion: instead.");
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface ALMediationAdapter (ALDeprecated)
extern NSString *const kMAConfigKeyMuted __deprecated_msg("Adapters no longer support mute APIs.");
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ NS_ASSUME_NONNULL_BEGIN
- (void)didHideAdForPlacementIdentifier:(NSString *)placementIdentifier;

// Rewarded delegate methods
- (void)didStartRewardedVideoForPlacementIdentifier:(NSString *)placementIdentifier
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[ALMediationAdapterRouter didDisplayAdForPlacementIdentifier:] instead");
- (void)didCompleteRewardedVideoForPlacementIdentifier:(NSString *)placementIdentifier
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[ALMediationAdapterRouter didHideAdForPlacementIdentifier:] instead");
- (void)didRewardUserForPlacementIdentifier:(NSString *)placementIdentifier withReward:(MAReward *)reward;

// AdView delegate methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (BOOL)isUserConsentSet;

/**
* Marks the user as age-restricted (i.e. under 16).
*
* @param isAgeRestrictedUser @c YES if the user is age-restricted (i.e. under 16).
*
* @see <a href="https://developers.applovin.com/en/ios/overview/privacy#prohibition-on-ads-to-and-personal-information-from-children-and-apps-exclusively-designed-for-or-exclusively-directed-to-children">MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ Prohibition on Ads to, and Personal Information from, Children and Apps Exclusively Designed for, or Exclusively Directed to, Children</a>
*/
+ (void)setIsAgeRestrictedUser:(BOOL)isAgeRestrictedUser;

/**
* Checks if the user is age-restricted.
*
* @return @c YES if the user is age-restricted. @c NO if the user is not age-restricted or the age-restriction value has not been set (see @c isAgeRestrictedUserSet).
*
* @see <a href="https://developers.applovin.com/en/ios/overview/privacy#prohibition-on-ads-to-and-personal-information-from-children-and-apps-exclusively-designed-for-or-exclusively-directed-to-children">MAX Integration Guide ⇒ iOS ⇒ Privacy ⇒ Prohibition on Ads to, and Personal Information from, Children and Apps Exclusively Designed for, or Exclusively Directed to, Children</a>
*/
+ (BOOL)isAgeRestrictedUser;

/**
* Checks if user has set its age restricted settings.
*
* @return @c YES if user has set its age restricted settings.
*/
+ (BOOL)isAgeRestrictedUserSet;

/**
* Sets whether or not the user has opted out of the sale of their personal information.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ NS_ASSUME_NONNULL_BEGIN
@end

@interface ALSdkSettings (ALDeprecated)
@property (nonatomic, assign) BOOL isVerboseLogging __deprecated_msg("This property is deprecated and will be removed in a future SDK version. Please use `-[ALSdkSettings isVerboseLoggingEnabled]` instead.");
@property (nonatomic, strong, readonly) ALConsentFlowSettings *consentFlowSettings __deprecated_msg("This property is deprecated and will be removed in a future SDK version. Please use the new MAX Terms and Privacy Policy Flow instead (see ALSdkSettings.termsAndPrivacyPolicyFlowSettings)");

- (instancetype)init __deprecated_msg("This method is deprecated and will be removed in a future SDK version. Please use `ALSdk.shared.settings` instead");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface ALUtils (ALDeprecated)
+ (nullable NSNumber *)tcfConsentStatusForVendorIdentifier:(NSInteger)vendorIdentifier
__deprecated_msg("This method has been deprecated and will be removed in a future SDK version. Please use -[ALPrivacySettings tcfVendorConsentStatusForIdentifier:] instead.");
+ (nullable NSNumber *)additionalConsentStatusForATPIdentifier:(NSInteger)atpIdentifier
__deprecated_msg("This method has been deprecated and will be removed in a future SDK version. Please use -[ALPrivacySettings additionalConsentStatusForIdentifier:] instead.");
@end

@interface NSString (ALSdk)
@property (nonatomic, assign, readonly, getter=al_isValidString) BOOL al_validString;
@property (nonatomic, assign, readonly, getter=al_isValidURL) BOOL al_validURL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong, readonly, nullable, getter=hasUserConsent) NSNumber *userConsent;

/**
* Current state of user age restrictions.
*
* @return @c 1 if the user is age restricted (i.e. under 16). @c nil if not set.
*/
@property (nonatomic, strong, readonly, nullable, getter=isAgeRestrictedUser) NSNumber *ageRestrictedUser;

/**
* Current state of whether ot not the user has opted out of the sale of their personal information.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)didRewardUserForAd:(MAAd *)ad withReward:(MAReward *)reward;

@optional

- (void)didStartRewardedVideoForAd:(MAAd *)ad
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead");

- (void)didCompleteRewardedVideoForAd:(MAAd *)ad
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead");

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)didRewardUserWithReward:(MAReward *)reward extraInfo:(nullable NSDictionary<NSString *, id> *)extraInfo;

@optional

- (void)didStartRewardedAdVideo
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didDisplayRewardedAd:] instead");

- (void)didCompleteRewardedAdVideo
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didHideRewardedAd:] instead");

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)didRewardUserWithReward:(MAReward *)reward extraInfo:(nullable NSDictionary<NSString *, id> *)extraInfo;

@optional

- (void)didStartRewardedInterstitialAdVideo
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MARewardedInterstitialAdapterDelegate didDisplayRewardedInterstitialAd:] instead");

- (void)didCompleteRewardedInterstitialAdVideo
__deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MARewardedInterstitialAdapterDelegate didHideRewardedInterstitialAd:] instead");

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,9 @@ protected ALAd() {}
public native ALAdType getType();
@Property(selector = "zoneIdentifier")
public native String getZoneIdentifier();
/**
* @deprecated This API has been deprecated and will be removed in a future release.
*/
@Deprecated
@Property(selector = "adIdNumber")
public native NSNumber getAdIdNumber();
/**
* @deprecated This API has been deprecated and will be removed in a future release.
*/
@Deprecated
@Property(selector = "isVideoAd")
public native boolean isVideoAd();
/*</properties>*/
/*<members>*//*</members>*/
/*<methods>*/
/**
* @deprecated This API has been deprecated and will be removed in a future release.
*/
@Deprecated
@Method(selector = "adValueForKey:")
public native String adValueForKey(String key);
/**
* @deprecated This API has been deprecated and will be removed in a future release.
*/
@Deprecated
@Method(selector = "adValueForKey:defaultValue:")
public native String getAdValue(String key, String defaultValue);

/*</methods>*/
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ protected ALAdService() {}
protected ALAdService(SkipInit skipInit) { super(skipInit); }
/*</constructors>*/
/*<properties>*/
/**
* @deprecated This API has been deprecated and will be removed in a future release. Please use collectBidTokenWithCompletion: instead.
*/
@Deprecated
@Property(selector = "bidToken")
public native String getBidToken();
/*</properties>*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@ public ALMediationAdapterRouter() {}
public native void didClickAdForPlacementIdentifier(String placementIdentifier);
@Method(selector = "didHideAdForPlacementIdentifier:")
public native void didHideAdForPlacementIdentifier(String placementIdentifier);
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[ALMediationAdapterRouter didDisplayAdForPlacementIdentifier:] instead
*/
@Deprecated
@Method(selector = "didStartRewardedVideoForPlacementIdentifier:")
public native void didStartRewardedVideoForPlacementIdentifier(String placementIdentifier);
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[ALMediationAdapterRouter didHideAdForPlacementIdentifier:] instead
*/
@Deprecated
@Method(selector = "didCompleteRewardedVideoForPlacementIdentifier:")
public native void didCompleteRewardedVideoForPlacementIdentifier(String placementIdentifier);
@Method(selector = "didRewardUserForPlacementIdentifier:withReward:")
public native void didRewardUserForPlacementIdentifier(String placementIdentifier, MAReward reward);
@Method(selector = "didExpandAdForPlacementIdentifier:")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ protected ALPrivacySettings() {}
public static native boolean hasUserConsent();
@Method(selector = "isUserConsentSet")
public static native boolean isUserConsentSet();
@Method(selector = "setIsAgeRestrictedUser:")
public static native void setIsAgeRestrictedUser(boolean isAgeRestrictedUser);
@Method(selector = "isAgeRestrictedUser")
public static native boolean isAgeRestrictedUser();
@Method(selector = "isAgeRestrictedUserSet")
public static native boolean isAgeRestrictedUserSet();
@Method(selector = "setDoNotSell:")
public static native void setDoNotSell(boolean doNotSell);
@Method(selector = "isDoNotSell")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,6 @@ public ALSdkSettings() {}
@Deprecated
@Property(selector = "setExceptionHandlerEnabled:")
public native void setExceptionHandlerEnabled(boolean v);
/**
* @deprecated This property is deprecated and will be removed in a future SDK version. Please use `-[ALSdkSettings isVerboseLoggingEnabled]` instead.
*/
@Deprecated
@Property(selector = "isVerboseLogging")
public native boolean isVerboseLogging();
/**
* @deprecated This property is deprecated and will be removed in a future SDK version. Please use `-[ALSdkSettings isVerboseLoggingEnabled]` instead.
*/
@Deprecated
@Property(selector = "setIsVerboseLogging:")
public native void setIsVerboseLogging(boolean v);
/**
* @deprecated This property is deprecated and will be removed in a future SDK version. Please use the new MAX Terms and Privacy Policy Flow instead (see ALSdkSettings.termsAndPrivacyPolicyFlowSettings)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,5 @@ protected ALUtils() {}
public static native UIInterfaceOrientationMask currentOrientationMask();
@Method(selector = "deviceSafeAreaDimensions")
public static native @ByVal CGRect deviceSafeAreaDimensions();
/**
* @deprecated This method has been deprecated and will be removed in a future SDK version. Please use -[ALPrivacySettings tcfVendorConsentStatusForIdentifier:] instead.
*/
@Deprecated
@Method(selector = "tcfConsentStatusForVendorIdentifier:")
public static native NSNumber tcfConsentStatusForVendorIdentifier(@MachineSizedSInt long vendorIdentifier);
/**
* @deprecated This method has been deprecated and will be removed in a future SDK version. Please use -[ALPrivacySettings additionalConsentStatusForIdentifier:] instead.
*/
@Deprecated
@Method(selector = "additionalConsentStatusForATPIdentifier:")
public static native NSNumber additionalConsentStatusForATPIdentifier(@MachineSizedSInt long atpIdentifier);
/*</methods>*/
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
NSDictionary<NSString, ?> getCustomParameters();
@Property(selector = "hasUserConsent")
NSNumber getUserConsent();
@Property(selector = "isAgeRestrictedUser")
NSNumber getAgeRestrictedUser();
@Property(selector = "isDoNotSell")
NSNumber getDoNotSell();
@Property(selector = "consentString")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
public NSDictionary<NSString, ?> getCustomParameters() { return null; }
@NotImplemented("hasUserConsent")
public NSNumber getUserConsent() { return null; }
@NotImplemented("isAgeRestrictedUser")
public NSNumber getAgeRestrictedUser() { return null; }
@NotImplemented("isDoNotSell")
public NSNumber getDoNotSell() { return null; }
@NotImplemented("consentString")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@
/*<methods>*/
@Method(selector = "didRewardUserForAd:withReward:")
void didRewardUser(MAAd ad, MAReward reward);
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead
*/
@Deprecated
@Method(selector = "didStartRewardedVideoForAd:")
void didStartRewardedVideoForAd(MAAd ad);
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead
*/
@Deprecated
@Method(selector = "didCompleteRewardedVideoForAd:")
void didCompleteRewardedVideoForAd(MAAd ad);
/*</methods>*/
/*<adapter>*/
/*</adapter>*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,5 @@
/*<methods>*/
@NotImplemented("didRewardUserForAd:withReward:")
public void didRewardUser(MAAd ad, MAReward reward) {}
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead
*/
@Deprecated
@NotImplemented("didStartRewardedVideoForAd:")
public void didStartRewardedVideoForAd(MAAd ad) {}
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead
*/
@Deprecated
@NotImplemented("didCompleteRewardedVideoForAd:")
public void didCompleteRewardedVideoForAd(MAAd ad) {}
/*</methods>*/
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,6 @@
void didRewardUser(MAReward reward);
@Method(selector = "didRewardUserWithReward:extraInfo:")
void didRewardUser(MAReward reward, NSDictionary<NSString, ?> extraInfo);
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didDisplayRewardedAd:] instead
*/
@Deprecated
@Method(selector = "didStartRewardedAdVideo")
void didStartRewardedAdVideo();
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didHideRewardedAd:] instead
*/
@Deprecated
@Method(selector = "didCompleteRewardedAdVideo")
void didCompleteRewardedAdVideo();
/*</methods>*/
/*<adapter>*/
/*</adapter>*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,5 @@ public void didHideRewardedAd(NSDictionary<NSString, ?> extraInfo) {}
public void didRewardUser(MAReward reward) {}
@NotImplemented("didRewardUserWithReward:extraInfo:")
public void didRewardUser(MAReward reward, NSDictionary<NSString, ?> extraInfo) {}
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didDisplayRewardedAd:] instead
*/
@Deprecated
@NotImplemented("didStartRewardedAdVideo")
public void didStartRewardedAdVideo() {}
/**
* @deprecated This API is deprecated because not all adapters support this callback. Please use -[MARewardedAdapterDelegate didHideRewardedAd:] instead
*/
@Deprecated
@NotImplemented("didCompleteRewardedAdVideo")
public void didCompleteRewardedAdVideo() {}
/*</methods>*/
}
Loading

0 comments on commit 4d74c90

Please sign in to comment.