Skip to content

Commit

Permalink
Merge pull request #53 from yandexmobile/release-2.18.0
Browse files Browse the repository at this point in the history
Release 2.18.0
  • Loading branch information
mobile-ads-github authored Aug 20, 2020
2 parents 0f1532f + 2193342 commit 6e865d0
Show file tree
Hide file tree
Showing 34 changed files with 215 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -331,7 +331,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -352,7 +352,7 @@
"\"${PODS_ROOT}/YandexMobileMetrica/static\"",
);
INFOPLIST_FILE = AdMobBannerAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
Expand All @@ -374,7 +374,7 @@
"\"${PODS_ROOT}/YandexMobileMetrica/static\"",
);
INFOPLIST_FILE = AdMobBannerAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
Expand Down
2 changes: 1 addition & 1 deletion Examples/ObjectiveC/AdMobBannerAdapterExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '8.0'
platform :ios, :deployment_target => '9.0'

target 'AdMobBannerAdapterExample' do
pod 'YandexMobileAdsAdMobAdapters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -323,7 +323,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand All @@ -338,7 +338,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AdMobInterstitialAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -356,7 +356,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AdMobInterstitialAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '8.0'
platform :ios, :deployment_target => '9.0'

target 'AdMobInterstitialAdapterExample' do
pod 'YandexMobileAdsAdMobAdapters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -308,7 +308,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -361,7 +361,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand All @@ -376,7 +376,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AdMobNativeAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -394,7 +394,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AdMobNativeAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
2 changes: 1 addition & 1 deletion Examples/ObjectiveC/AdMobNativeAdapterExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '8.0'
platform :ios, :deployment_target => '9.0'

target 'AdMobNativeAdapterExample' do
use_frameworks!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -338,7 +338,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -358,7 +358,7 @@
"\"${PODS_ROOT}/YandexMobileMetrica/static\"",
);
INFOPLIST_FILE = AdMobRewardedAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.yandex.AdMobRewardedAdapterExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -377,7 +377,7 @@
"\"${PODS_ROOT}/YandexMobileMetrica/static\"",
);
INFOPLIST_FILE = AdMobRewardedAdapterExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.yandex.AdMobRewardedAdapterExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion Examples/ObjectiveC/AdMobRewardedAdapterExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '8.0'
platform :ios, :deployment_target => '9.0'

target 'AdMobRewardedAdapterExample' do
pod 'YandexMobileAdsAdMobAdapters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-MobileMediationInterstitialExample/Pods-MobileMediationInterstitialExample-resources.sh",
"${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-6.13.0/AppLovinSDKResources.bundle",
"${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-6.13.4/AppLovinSDKResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/StartAppSDK/StartAppSDK.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/mopub-ios-sdk/MoPubResources.bundle",
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
B3946C50204584540081899C /* StarRatingView.m in Sources */ = {isa = PBXBuildFile; fileRef = B3946C4E204584530081899C /* StarRatingView.m */; };
B3946C51204584540081899C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B3946C4F204584540081899C /* Assets.xcassets */; };
B3FF432B23F6B94400D87C74 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B3FF432A23F6B94400D87C74 /* main.m */; };
D4351D1B24D2C92600A4896E /* NativeAdViewFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = D4351D1A24D2C92600A4896E /* NativeAdViewFactory.m */; };
DFD2A9B1249370C000FB3290 /* NativeImageAdView.m in Sources */ = {isa = PBXBuildFile; fileRef = DFD2A9B0249370C000FB3290 /* NativeImageAdView.m */; };
FEC67E850C1722D613C20C45 /* libPods-MobileMediationNativeExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ECEBB0DE170E0DCB8F582E4D /* libPods-MobileMediationNativeExample.a */; };
/* End PBXBuildFile section */
Expand All @@ -44,6 +45,8 @@
B3946C4E204584530081899C /* StarRatingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = StarRatingView.m; path = ../../Common/StarRatingView.m; sourceTree = "<group>"; };
B3946C4F204584540081899C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = ../../Common/Assets.xcassets; sourceTree = "<group>"; };
B3FF432A23F6B94400D87C74 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
D4351D1924D2C92600A4896E /* NativeAdViewFactory.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NativeAdViewFactory.h; sourceTree = "<group>"; };
D4351D1A24D2C92600A4896E /* NativeAdViewFactory.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NativeAdViewFactory.m; sourceTree = "<group>"; };
DE2B6B55086834AEB472C008 /* Pods-MobileMediationNativeExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MobileMediationNativeExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-MobileMediationNativeExample/Pods-MobileMediationNativeExample.release.xcconfig"; sourceTree = "<group>"; };
DFD2A9AF249370C000FB3290 /* NativeImageAdView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NativeImageAdView.h; path = ../../Common/NativeImageAdView.h; sourceTree = "<group>"; };
DFD2A9B0249370C000FB3290 /* NativeImageAdView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NativeImageAdView.m; path = ../../Common/NativeImageAdView.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -112,6 +115,8 @@
B3946C2B20456AF50081899C /* LaunchScreen.storyboard */,
B3946C3920457DEE0081899C /* Images.xcassets */,
B3946C2E20456AF50081899C /* Info.plist */,
D4351D1924D2C92600A4896E /* NativeAdViewFactory.h */,
D4351D1A24D2C92600A4896E /* NativeAdViewFactory.m */,
);
path = MobileMediationNativeExample;
sourceTree = "<group>";
Expand Down Expand Up @@ -240,6 +245,7 @@
buildActionMask = 2147483647;
files = (
DFD2A9B1249370C000FB3290 /* NativeImageAdView.m in Sources */,
D4351D1B24D2C92600A4896E /* NativeAdViewFactory.m in Sources */,
B3946C4C204583D00081899C /* NativeAppInstallAdView.m in Sources */,
B3946C2520456AF50081899C /* ViewController.m in Sources */,
B3946C4B204583D00081899C /* NativeAssetsComposer.m in Sources */,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Version for iOS © 2015–2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://yandex.com/legal/mobileads_sdk_agreement/
*/

#import <Foundation/Foundation.h>

@class NativeContentAdView;
@class NativeAppInstallAdView;
@class NativeImageAdView;

NS_ASSUME_NONNULL_BEGIN

@interface NativeAdViewFactory : NSObject

- (NativeContentAdView *)contentAdView;

- (NativeAppInstallAdView *)appInstallAdView;

- (NativeImageAdView *)imageAdView;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Version for iOS © 2015–2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://yandex.com/legal/mobileads_sdk_agreement/
*/

#import "NativeAdViewFactory.h"
#import "NativeAppInstallAdView.h"
#import "NativeContentAdView.h"
#import "NativeImageAdView.h"

@implementation NativeAdViewFactory

- (NativeContentAdView *)contentAdView
{
NativeContentAdView *contentAdView = [[NativeContentAdView alloc] initWithFrame:CGRectZero];
contentAdView.translatesAutoresizingMaskIntoConstraints = NO;
return contentAdView;
}

- (NativeAppInstallAdView *)appInstallAdView
{
NativeAppInstallAdView *appInstallAdView = [[NativeAppInstallAdView alloc] initWithFrame:CGRectZero];
appInstallAdView.translatesAutoresizingMaskIntoConstraints = NO;
return appInstallAdView;
}

- (NativeImageAdView *)imageAdView
{
NativeImageAdView *imageAdView = [[NativeImageAdView alloc] initWithFrame:CGRectZero];
imageAdView.translatesAutoresizingMaskIntoConstraints = NO;
return imageAdView;
}

@end
Loading

0 comments on commit 6e865d0

Please sign in to comment.