Skip to content

Commit 52f6e80

Browse files
Release 3.4.2
1 parent 9046dd4 commit 52f6e80

File tree

4 files changed

+5
-100
lines changed

4 files changed

+5
-100
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

UnityAds.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = 'UnityAds'
3-
s.version = '3.4.0'
3+
s.version = '3.4.2'
44
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
55
s.author = { 'UnityAds' => '[email protected]' }
66
s.homepage = 'https://unity3d.com/services/ads'
77
s.summary = 'Monetize your entire player base and reach new audiences with video ads.'
88
s.platform = :ios
9-
s.source = { :http => 'https://github.com/Unity-Technologies/unity-ads-ios/releases/download/3.4.0/UnityAds.framework.zip' }
9+
s.source = { :http => 'https://github.com/Unity-Technologies/unity-ads-ios/releases/download/3.4.2/UnityAds.framework.zip' }
1010
s.ios.deployment_target = '9.0'
1111
s.ios.vendored_frameworks = 'UnityAds.framework'
1212
s.ios.xcconfig = { 'OTHER_LDFLAGS' => '-framework UnityAds' }

UnityServices/Banners/UADSBanner.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ - (void)loadBanner:(NSString *)placementId {
5353
if (weakSelf.currentBannerView) {
5454
[weakSelf sendError:@"A Banner is already in use, please call destroy before loading another banner!"];
5555
} else {
56-
CGSize size = CGSizeMake([weakSelf WidthFromDynamicBannerSize:UADSBannerSizeDynamic], [weakSelf HeightFromUADSBannerSize:UADSBannerSizeDynamic]);
56+
CGSize size = CGSizeMake(UADSBannerSizeStandardWidth, UADSBannerSizeStandardHeight);
5757
UADSBannerAdRefreshView *bannerAdRefreshView = [[UADSBannerAdRefreshView alloc] initWithPlacementId:placementId size:size];
5858
UADSBannerWrapperView *bannerWrapperView = [[UADSBannerWrapperView alloc] initWithBannerAdRefreshView:bannerAdRefreshView bannerPosition:weakSelf.currentBannerPosition];
5959
weakSelf.currentBannerView = bannerWrapperView;

UnityServices/Core/Properties/USRVSdkProperties.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
NSString * const kUnityServicesLocalCacheFilePrefix = @"UnityAdsCache-";
66
NSString * const kUnityServicesLocalStorageFilePrefix = @"UnityAdsStorage-";
77
NSString * const kUnityServicesWebviewBranchInfoDictionaryKey = @"UADSWebviewBranch";
8-
NSString * const kUnityServicesVersionName = @"3.4.0";
8+
NSString * const kUnityServicesVersionName = @"3.4.2";
99
NSString * const kUnityServicesFlavorDebug = @"debug";
1010
NSString * const kUnityServicesFlavorRelease = @"release";
1111
NSString * const kChinaIsoAlpha2Code = @"CN";
1212
NSString * const kChinaIsoAlpha3Code = @"CHN";
13-
int const kUnityServicesVersionCode = 3400;
13+
int const kUnityServicesVersionCode = 3420;
1414

1515
@implementation USRVSdkProperties
1616

0 commit comments

Comments
 (0)