Skip to content

Commit

Permalink
Tapjoy-12.8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dravyan committed May 11, 2021
1 parent c1e31d0 commit b557758
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Tapjoy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Changelog
* 12.8.0.2
* Add `fullscreenAdAdapterAdWillPresent` and `fullscreenAdAdapterAdDidPresent` to notify publishers of the fullscreen ad show event. Remove `fullscreenAdAdapterAdWillAppear` and `fullscreenAdAdapterAdDidAppear` as they are now deprecated by the MoPub iOS SDK.
* Publishers must use v5.17.0 of the MoPub SDK at the minimum.

* 12.8.0.1
* Remove deprecated usage of Rewarded Video APIs.

Expand Down
2 changes: 1 addition & 1 deletion Tapjoy/TapjoyAdapterConfiguration.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ + (void)updateInitializationParameters:(NSDictionary *)parameters {
#pragma mark - MPAdapterConfiguration

- (NSString *)adapterVersion {
return @"12.8.0.1";
return @"12.8.0.2";
}

- (NSString *)biddingToken {
Expand Down
4 changes: 2 additions & 2 deletions Tapjoy/TapjoyInterstitialCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ - (void)requestDidFail:(TJPlacement *)placement error:(NSError *)error {

- (void)contentDidAppear:(TJPlacement *)placement {
MPLogAdEvent([MPLogEvent adWillAppearForAdapter:NSStringFromClass(self.class)], self.placementName);
[self.delegate fullscreenAdAdapterAdWillAppear:self];
[self.delegate fullscreenAdAdapterAdWillPresent:self];
MPLogAdEvent([MPLogEvent adShowSuccessForAdapter:NSStringFromClass(self.class)], self.placementName);
MPLogAdEvent([MPLogEvent adDidAppearForAdapter:NSStringFromClass(self.class)], self.placementName);
[self.delegate fullscreenAdAdapterAdDidAppear:self];
[self.delegate fullscreenAdAdapterAdDidPresent:self];
[self.delegate fullscreenAdAdapterDidTrackImpression:self];
}

Expand Down
4 changes: 2 additions & 2 deletions Tapjoy/TapjoyRewardedVideoCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ - (void)requestDidFail:(TJPlacement *)placement error:(NSError *)error {

- (void)contentDidAppear:(TJPlacement *)placement {
MPLogAdEvent([MPLogEvent adWillAppearForAdapter:NSStringFromClass(self.class)], self.placementName);
[self.delegate fullscreenAdAdapterAdWillAppear:self];
[self.delegate fullscreenAdAdapterAdWillPresent:self];
MPLogAdEvent([MPLogEvent adShowSuccessForAdapter:NSStringFromClass(self.class)], self.placementName);
MPLogAdEvent([MPLogEvent adDidAppearForAdapter:NSStringFromClass(self.class)], self.placementName);
[self.delegate fullscreenAdAdapterAdDidAppear:self];
[self.delegate fullscreenAdAdapterAdDidPresent:self];
[self.delegate fullscreenAdAdapterDidTrackImpression:self];
}

Expand Down

0 comments on commit b557758

Please sign in to comment.