File tree Expand file tree Collapse file tree 4 files changed +5
-100
lines changed Expand file tree Collapse file tree 4 files changed +5
-100
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'UnityAds'
3
- s . version = '3.4.0 '
3
+ s . version = '3.4.2 '
4
4
s . license = { :type => 'Apache License, Version 2.0' , :file => 'LICENSE' }
5
5
s . author = { 'UnityAds' => '[email protected] ' }
6
6
s . homepage = 'https://unity3d.com/services/ads'
7
7
s . summary = 'Monetize your entire player base and reach new audiences with video ads.'
8
8
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' }
10
10
s . ios . deployment_target = '9.0'
11
11
s . ios . vendored_frameworks = 'UnityAds.framework'
12
12
s . ios . xcconfig = { 'OTHER_LDFLAGS' => '-framework UnityAds' }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ - (void)loadBanner:(NSString *)placementId {
53
53
if (weakSelf.currentBannerView ) {
54
54
[weakSelf sendError: @" A Banner is already in use, please call destroy before loading another banner!" ];
55
55
} else {
56
- CGSize size = CGSizeMake ([weakSelf WidthFromDynamicBannerSize: UADSBannerSizeDynamic], [weakSelf HeightFromUADSBannerSize: UADSBannerSizeDynamic] );
56
+ CGSize size = CGSizeMake (UADSBannerSizeStandardWidth, UADSBannerSizeStandardHeight );
57
57
UADSBannerAdRefreshView *bannerAdRefreshView = [[UADSBannerAdRefreshView alloc ] initWithPlacementId: placementId size: size];
58
58
UADSBannerWrapperView *bannerWrapperView = [[UADSBannerWrapperView alloc ] initWithBannerAdRefreshView: bannerAdRefreshView bannerPosition: weakSelf.currentBannerPosition];
59
59
weakSelf.currentBannerView = bannerWrapperView;
Original file line number Diff line number Diff line change 5
5
NSString * const kUnityServicesLocalCacheFilePrefix = @" UnityAdsCache-" ;
6
6
NSString * const kUnityServicesLocalStorageFilePrefix = @" UnityAdsStorage-" ;
7
7
NSString * const kUnityServicesWebviewBranchInfoDictionaryKey = @" UADSWebviewBranch" ;
8
- NSString * const kUnityServicesVersionName = @" 3.4.0 " ;
8
+ NSString * const kUnityServicesVersionName = @" 3.4.2 " ;
9
9
NSString * const kUnityServicesFlavorDebug = @" debug" ;
10
10
NSString * const kUnityServicesFlavorRelease = @" release" ;
11
11
NSString * const kChinaIsoAlpha2Code = @" CN" ;
12
12
NSString * const kChinaIsoAlpha3Code = @" CHN" ;
13
- int const kUnityServicesVersionCode = 3400 ;
13
+ int const kUnityServicesVersionCode = 3420 ;
14
14
15
15
@implementation USRVSdkProperties
16
16
You can’t perform that action at this time.
0 commit comments