diff options
author | Aleksey Belouosv <aleksey@maps.me> | 2019-05-08 04:10:25 +0300 |
---|---|---|
committer | Zoia <niakris90@gmail.com> | 2019-05-23 14:02:26 +0300 |
commit | d3402235ac6e02e15bcb7c0ec06f15d21cf34e96 (patch) | |
tree | 93aa4b1d2951b0b378699f7b9812120f8c3a8dd4 /iphone | |
parent | ecf57a9bd342638d861402990b0240909a2a14f2 (diff) |
[iOS] remove google ads
Diffstat (limited to 'iphone')
116 files changed, 5 insertions, 6291 deletions
diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/CHANGELOG.md b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/CHANGELOG.md deleted file mode 100755 index f1326cdbdf..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -## Changelog - * 7.30.0.1 - * Updated the adapter's cocoapods dependency to MoPub version 5.0 - - * 7.30.0.0 - * This version of the adapters has been certified with AdMob 7.30.0. - - * 7.29.0.0 - * This version of the adapters has been certified with AdMob 7.29.0. - - * 7.27.0.1 - * This version of the adapters has been certified with AdMob 7.27.0. - - * Initial Commit - * Adapters moved from [mopub-iOS-sdk](https://github.com/mopub/mopub-ios-sdk) to [mopub-iOS-mediation](https://github.com/mopub/mopub-iOS-mediation/) diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.h deleted file mode 100755 index 788fe6e8b4..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// MPGoogleAdMobBannerCustomEvent.h -// MoPub -// -// Copyright (c) 2013 MoPub. All rights reserved. -// - -#if __has_include(<MoPub/MoPub.h>) - #import <MoPub/MoPub.h> -#else - #import "MPBannerCustomEvent.h" -#endif - -/* - * Please reference the Supported Mediation Partner page at http://bit.ly/2mqsuFH for the - * latest version and ad format certifications. - */ -@interface MPGoogleAdMobBannerCustomEvent : MPBannerCustomEvent - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.m deleted file mode 100755 index 29a34c5bed..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobBannerCustomEvent.m +++ /dev/null @@ -1,132 +0,0 @@ -// -// MPGoogleAdMobBannerCustomEvent.m -// MoPub -// -// Copyright (c) 2013 MoPub. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> -#import "MPGoogleAdMobBannerCustomEvent.h" -#import "MPLogging.h" -#import "MPInstanceProvider.h" - -@interface MPInstanceProvider (AdMobBanners) - -- (GADBannerView *)buildGADBannerViewWithFrame:(CGRect)frame; -- (GADRequest *)buildGADBannerRequest; - -@end - -@implementation MPInstanceProvider (AdMobBanners) - -- (GADBannerView *)buildGADBannerViewWithFrame:(CGRect)frame -{ - return [[GADBannerView alloc] initWithFrame:frame]; -} - -- (GADRequest *)buildGADBannerRequest -{ - return [GADRequest request]; -} - -@end - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -@interface MPGoogleAdMobBannerCustomEvent () <GADBannerViewDelegate> - -@property (nonatomic, strong) GADBannerView *adBannerView; - -@end - - -@implementation MPGoogleAdMobBannerCustomEvent - -- (id)init -{ - self = [super init]; - if (self) - { - self.adBannerView = [[MPInstanceProvider sharedProvider] buildGADBannerViewWithFrame:CGRectZero]; - self.adBannerView.delegate = self; - } - return self; -} - -- (void)dealloc -{ - self.adBannerView.delegate = nil; -} - -- (void)requestAdWithSize:(CGSize)size customEventInfo:(NSDictionary *)info -{ - MPLogInfo(@"Requesting Google AdMob banner"); - self.adBannerView.frame = [self frameForCustomEventInfo:info]; - self.adBannerView.adUnitID = [info objectForKey:@"adUnitID"]; - self.adBannerView.rootViewController = [self.delegate viewControllerForPresentingModalView]; - - GADRequest *request = [[MPInstanceProvider sharedProvider] buildGADBannerRequest]; - - CLLocation *location = self.delegate.location; - if (location) { - [request setLocationWithLatitude:location.coordinate.latitude - longitude:location.coordinate.longitude - accuracy:location.horizontalAccuracy]; - } - - // Here, you can specify a list of device IDs that will receive test ads. - // Running in the simulator will automatically show test ads. - request.testDevices = @[/*more UDIDs here*/]; - - request.requestAgent = @"MoPub"; - - [self.adBannerView loadRequest:request]; -} - -- (CGRect)frameForCustomEventInfo:(NSDictionary *)info -{ - CGFloat width = [[info objectForKey:@"adWidth"] floatValue]; - CGFloat height = [[info objectForKey:@"adHeight"] floatValue]; - - if (width < GAD_SIZE_320x50.width && height < GAD_SIZE_320x50.height) { - width = GAD_SIZE_320x50.width; - height = GAD_SIZE_320x50.height; - } - return CGRectMake(0, 0, width, height); -} - -#pragma mark - -#pragma mark GADBannerViewDelegate methods - -- (void)adViewDidReceiveAd:(GADBannerView *)bannerView -{ - MPLogInfo(@"Google AdMob Banner did load"); - [self.delegate bannerCustomEvent:self didLoadAd:self.adBannerView]; -} - -- (void)adView:(GADBannerView *)bannerView -didFailToReceiveAdWithError:(GADRequestError *)error -{ - MPLogInfo(@"Google AdMob Banner failed to load with error: %@", error.localizedDescription); - [self.delegate bannerCustomEvent:self didFailToLoadAdWithError:error]; -} - -- (void)adViewWillPresentScreen:(GADBannerView *)bannerView -{ - MPLogInfo(@"Google AdMob Banner will present modal"); - [self.delegate bannerCustomEventWillBeginAction:self]; -} - -- (void)adViewDidDismissScreen:(GADBannerView *)bannerView -{ - MPLogInfo(@"Google AdMob Banner did dismiss modal"); - [self.delegate bannerCustomEventDidFinishAction:self]; -} - -- (void)adViewWillLeaveApplication:(GADBannerView *)bannerView -{ - MPLogInfo(@"Google AdMob Banner will leave the application"); - [self.delegate bannerCustomEventWillLeaveApplication:self]; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.h deleted file mode 100755 index 5db46c5547..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// MPGoogleAdMobInterstitialCustomEvent.h -// MoPub -// -// Copyright (c) 2012 MoPub, Inc. All rights reserved. -// - -#if __has_include(<MoPub/MoPub.h>) - #import <MoPub/MoPub.h> -#else - #import "MPInterstitialCustomEvent.h" -#endif - -/* - * Please reference the Supported Mediation Partner page at http://bit.ly/2mqsuFH for the - * latest version and ad format certifications. - */ -@interface MPGoogleAdMobInterstitialCustomEvent : MPInterstitialCustomEvent - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.m deleted file mode 100755 index beba826dd1..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobInterstitialCustomEvent.m +++ /dev/null @@ -1,127 +0,0 @@ -// -// MPGoogleAdMobInterstitialCustomEvent.m -// MoPub -// -// Copyright (c) 2012 MoPub, Inc. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> -#import "MPGoogleAdMobInterstitialCustomEvent.h" -#import "MPInterstitialAdController.h" -#import "MPLogging.h" -#import "MPAdConfiguration.h" -#import "MPInstanceProvider.h" -#import <CoreLocation/CoreLocation.h> - -@interface MPInstanceProvider (AdMobInterstitials) - -- (GADInterstitial *)buildGADInterstitialAd; -- (GADRequest *)buildGADInterstitialRequest; - -@end - -@implementation MPInstanceProvider (AdMobInterstitials) - -- (GADInterstitial *)buildGADInterstitialAd -{ - return [[GADInterstitial alloc] init]; -} - -- (GADRequest *)buildGADInterstitialRequest -{ - return [GADRequest request]; -} - -@end - -//////////////////////////////////////////////////////////////////////////////////////////////////// - -@interface MPGoogleAdMobInterstitialCustomEvent () <GADInterstitialDelegate> - -@property (nonatomic, strong) GADInterstitial *interstitial; - -@end - -@implementation MPGoogleAdMobInterstitialCustomEvent - -@synthesize interstitial = _interstitial; - -#pragma mark - MPInterstitialCustomEvent Subclass Methods - -- (void)requestInterstitialWithCustomEventInfo:(NSDictionary *)info -{ - MPLogInfo(@"Requesting Google AdMob interstitial"); - self.interstitial = [[MPInstanceProvider sharedProvider] buildGADInterstitialAd]; - - self.interstitial.adUnitID = [info objectForKey:@"adUnitID"]; - self.interstitial.delegate = self; - - GADRequest *request = [[MPInstanceProvider sharedProvider] buildGADInterstitialRequest]; - - CLLocation *location = self.delegate.location; - if (location) { - [request setLocationWithLatitude:location.coordinate.latitude - longitude:location.coordinate.longitude - accuracy:location.horizontalAccuracy]; - } - - // Here, you can specify a list of device IDs that will receive test ads. - // Running in the simulator will automatically show test ads. - request.testDevices = @[/*more UDIDs here*/]; - - request.requestAgent = @"MoPub"; - - [self.interstitial loadRequest:request]; -} - -- (void)showInterstitialFromRootViewController:(UIViewController *)rootViewController -{ - [self.interstitial presentFromRootViewController:rootViewController]; -} - -- (void)dealloc -{ - self.interstitial.delegate = nil; -} - -#pragma mark - GADInterstitialDelegate - -- (void)interstitialDidReceiveAd:(GADInterstitial *)interstitial -{ - MPLogInfo(@"Google AdMob Interstitial did load"); - [self.delegate interstitialCustomEvent:self didLoadAd:self]; -} - -- (void)interstitial:(GADInterstitial *)interstitial didFailToReceiveAdWithError:(GADRequestError *)error -{ - MPLogInfo(@"Google AdMob Interstitial failed to load with error: %@", error.localizedDescription); - [self.delegate interstitialCustomEvent:self didFailToLoadAdWithError:error]; -} - -- (void)interstitialWillPresentScreen:(GADInterstitial *)interstitial -{ - MPLogInfo(@"Google AdMob Interstitial will present"); - [self.delegate interstitialCustomEventWillAppear:self]; - [self.delegate interstitialCustomEventDidAppear:self]; -} - -- (void)interstitialWillDismissScreen:(GADInterstitial *)ad -{ - MPLogInfo(@"Google AdMob Interstitial will dismiss"); - [self.delegate interstitialCustomEventWillDisappear:self]; -} - -- (void)interstitialDidDismissScreen:(GADInterstitial *)ad -{ - MPLogInfo(@"Google AdMob Interstitial did dismiss"); - [self.delegate interstitialCustomEventDidDisappear:self]; -} - -- (void)interstitialWillLeaveApplication:(GADInterstitial *)ad -{ - MPLogInfo(@"Google AdMob Interstitial will leave application"); - [self.delegate interstitialCustomEventDidReceiveTapEvent:self]; - [self.delegate interstitialCustomEventWillLeaveApplication:self]; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.h deleted file mode 100755 index 18fb94913c..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.h +++ /dev/null @@ -1,31 +0,0 @@ -#if __has_include(<MoPub / MoPub.h>) -#import <MoPub/MoPub.h> -#else -#import "MPNativeAdAdapter.h" -#endif - -#import <GoogleMobileAds/GoogleMobileAds.h> - -/// This class implements the `MPNativeAdAdapter` and `GADNativeAdDelegate` protocols, that allow -/// the MoPub SDK to interact with native ad objects obtained from Google Mobile Ads SDK. -@interface MPGoogleAdMobNativeAdAdapter : NSObject<MPNativeAdAdapter, GADNativeAdDelegate> - -/// MoPub native ad adapter delegate instance. -@property(nonatomic, weak) id<MPNativeAdAdapterDelegate> delegate; - -/// Google Mobile Ads native app install ad instance. -@property(nonatomic, strong) GADNativeAppInstallAd *adMobNativeAppInstallAd; - -/// Google Mobile Ads native content ad instance. -@property(nonatomic, strong) GADNativeContentAd *adMobNativeContentAd; - -/// Google Mobile Ads container view to hold the AdChoices icon. -@property(nonatomic, strong) GADAdChoicesView *adChoicesView; - -/// Returns an MPGoogleAdMobNativeAdAdapter with GADNativeContentAd. -- (instancetype)initWithAdMobNativeContentAd:(GADNativeContentAd *)adMobNativeContentAd; - -/// Returns an MPGoogleAdMobNativeAdAdapter with GADNativeAppInstallAd. -- (instancetype)initWithAdMobNativeAppInstallAd:(GADNativeAppInstallAd *)adMobNativeAppInstallAd; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.m deleted file mode 100755 index 49b52cf101..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeAdAdapter.m +++ /dev/null @@ -1,129 +0,0 @@ -#import "MPGoogleAdMobNativeAdAdapter.h" - -#import "MPCoreInstanceProvider.h" -#import "MPLogging.h" -#import "MPNativeAdConstants.h" -#import "MPNativeAdError.h" - -static NSString *const kGADMAdvertiserKey = @"advertiser"; -static NSString *const kGADMPriceKey = @"price"; -static NSString *const kGADMStoreKey = @"store"; - -@implementation MPGoogleAdMobNativeAdAdapter - -@synthesize properties = _properties; -@synthesize defaultActionURL = _defaultActionURL; - -- (instancetype)initWithAdMobNativeContentAd:(GADNativeContentAd *)adMobNativeContentAd { - if (self = [super init]) { - self.adMobNativeContentAd = adMobNativeContentAd; - self.adMobNativeContentAd.delegate = self; - - // Initializing adChoicesView with default size of (20, 20). - _adChoicesView = [[GADAdChoicesView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)]; - - NSMutableDictionary *properties = [NSMutableDictionary dictionary]; - - if (adMobNativeContentAd.headline) { - properties[kAdTitleKey] = adMobNativeContentAd.headline; - } - - if (adMobNativeContentAd.body) { - properties[kAdTextKey] = adMobNativeContentAd.body; - } - - if (adMobNativeContentAd.callToAction) { - properties[kAdCTATextKey] = adMobNativeContentAd.callToAction; - } - - GADNativeAdImage *mainImage = (GADNativeAdImage *)adMobNativeContentAd.images.firstObject; - if ([mainImage.imageURL absoluteString]) { - properties[kAdMainImageKey] = mainImage.imageURL.absoluteString; - } - - if (adMobNativeContentAd.logo.image) { - properties[kAdIconImageKey] = adMobNativeContentAd.logo.image; - } - - if (adMobNativeContentAd.advertiser) { - properties[kGADMAdvertiserKey] = adMobNativeContentAd.advertiser; - } - - _properties = properties; - } - - return self; -} - -- (instancetype)initWithAdMobNativeAppInstallAd:(GADNativeAppInstallAd *)adMobNativeAppInstallAd { - if (self = [super init]) { - self.adMobNativeAppInstallAd = adMobNativeAppInstallAd; - self.adMobNativeAppInstallAd.delegate = self; - - // Initializing adChoicesView with default size of (20, 20). - _adChoicesView = [[GADAdChoicesView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)]; - - NSMutableDictionary *properties = [NSMutableDictionary dictionary]; - - if (adMobNativeAppInstallAd.headline) { - properties[kAdTitleKey] = adMobNativeAppInstallAd.headline; - } - - GADNativeAdImage *mainImage = (GADNativeAdImage *)adMobNativeAppInstallAd.images.firstObject; - if ([mainImage.imageURL absoluteString]) { - properties[kAdMainImageKey] = mainImage.imageURL.absoluteString; - } - - if ([adMobNativeAppInstallAd.icon.imageURL absoluteString]) { - properties[kAdIconImageKey] = adMobNativeAppInstallAd.icon.imageURL.absoluteString; - } - - if (adMobNativeAppInstallAd.body) { - properties[kAdTextKey] = adMobNativeAppInstallAd.body; - } - - if (adMobNativeAppInstallAd.starRating) { - properties[kAdStarRatingKey] = adMobNativeAppInstallAd.starRating; - } - - if (adMobNativeAppInstallAd.callToAction) { - properties[kAdCTATextKey] = adMobNativeAppInstallAd.callToAction; - } - - if (adMobNativeAppInstallAd.price) { - properties[kGADMPriceKey] = adMobNativeAppInstallAd.price; - } - - if (adMobNativeAppInstallAd.store) { - properties[kGADMStoreKey] = adMobNativeAppInstallAd.store; - } - - _properties = properties; - } - - return self; -} - -#pragma mark - <GADNativeAdDelegate> - -- (void)nativeAdDidRecordImpression:(GADNativeAd *)nativeAd { - // Sending impression to MoPub SDK. - [self.delegate nativeAdWillLogImpression:self]; -} - -- (void)nativeAdDidRecordClick:(GADNativeAd *)nativeAd { - // Sending click to MoPub SDK. - [self.delegate nativeAdDidClick:self]; -} - -#pragma mark - <MPNativeAdAdapter> - -- (UIView *)privacyInformationIconView { - return _adChoicesView; -} - -- (BOOL)enableThirdPartyClickTracking { - return YES; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.h deleted file mode 100755 index 7ec384521b..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.h +++ /dev/null @@ -1,15 +0,0 @@ -#if __has_include(<MoPub / MoPub.h>) -#import <MoPub/MoPub.h> -#else -#import "MPNativeCustomEvent.h" -#endif - -#import <GoogleMobileAds/GoogleMobileAds.h> - - -@interface MPGoogleAdMobNativeCustomEvent : MPNativeCustomEvent - -/// Sets the preferred location of the AdChoices icon. -+ (void)setAdChoicesPosition:(GADAdChoicesPosition)position; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.m deleted file mode 100755 index fe5b534b4b..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeCustomEvent.m +++ /dev/null @@ -1,190 +0,0 @@ -#import "MPGoogleAdMobNativeAdAdapter.h" -#import "MPGoogleAdMobNativeCustomEvent.h" -#import "MPInstanceProvider.h" -#import "MPLogging.h" -#import "MPNativeAd.h" -#import "MPNativeAdConstants.h" -#import "MPNativeAdError.h" -#import "MPNativeAdUtils.h" - -static void MPGoogleLogInfo(NSString *message) { - message = [[NSString alloc] initWithFormat:@"<Google Adapter> - %@", message]; - MPLogInfo(message); -} - -/// Holds the preferred location of the AdChoices icon. -static GADAdChoicesPosition adChoicesPosition; - -@interface MPGoogleAdMobNativeCustomEvent () < - GADAdLoaderDelegate, GADNativeAppInstallAdLoaderDelegate, GADNativeContentAdLoaderDelegate> - -/// GADAdLoader instance. -@property(nonatomic, strong) GADAdLoader *adLoader; - -@end - -@implementation MPGoogleAdMobNativeCustomEvent - -+ (void)setAdChoicesPosition:(GADAdChoicesPosition)position { - // Since this adapter only supports one position for all instances of native ads, publishers might - // access this class method in multiple threads and try to set the position for various native - // ads, so its better to use synchronized block to make "adChoicesPosition" variable thread safe. - @synchronized([self class]) { - adChoicesPosition = position; - } -} - -- (void)requestAdWithCustomEventInfo:(NSDictionary *)info { - NSString *applicationID = [info objectForKey:@"appid"]; - if (applicationID) { - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - [GADMobileAds configureWithApplicationID:applicationID]; - }); - } - NSString *adUnitID = info[@"adunit"]; - if (!adUnitID) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidAdServerResponse( - @"Ad unit ID cannot be nil.")]; - return; - } - - UIWindow *window = [UIApplication sharedApplication].keyWindow; - UIViewController *rootViewController = window.rootViewController; - while (rootViewController.presentedViewController) { - rootViewController = rootViewController.presentedViewController; - } - GADRequest *request = [GADRequest request]; - request.requestAgent = @"MoPub"; - GADNativeAdImageAdLoaderOptions *nativeAdImageLoaderOptions = - [[GADNativeAdImageAdLoaderOptions alloc] init]; - nativeAdImageLoaderOptions.disableImageLoading = YES; - nativeAdImageLoaderOptions.shouldRequestMultipleImages = NO; - nativeAdImageLoaderOptions.preferredImageOrientation = - GADNativeAdImageAdLoaderOptionsOrientationAny; - - // In GADNativeAdViewAdOptions, the default preferredAdChoicesPosition is - // GADAdChoicesPositionTopRightCorner. - GADNativeAdViewAdOptions *nativeAdViewAdOptions = [[GADNativeAdViewAdOptions alloc] init]; - nativeAdViewAdOptions.preferredAdChoicesPosition = adChoicesPosition; - - self.adLoader = [[GADAdLoader alloc] - initWithAdUnitID:adUnitID - rootViewController:rootViewController - adTypes:@[ kGADAdLoaderAdTypeNativeAppInstall, kGADAdLoaderAdTypeNativeContent ] - options:@[ nativeAdImageLoaderOptions, nativeAdViewAdOptions ]]; - self.adLoader.delegate = self; - [self.adLoader loadRequest:request]; -} - -#pragma mark GADAdLoaderDelegate implementation - -- (void)adLoader:(GADAdLoader *)adLoader didFailToReceiveAdWithError:(GADRequestError *)error { - [self.delegate nativeCustomEvent:self didFailToLoadAdWithError:error]; -} - -#pragma mark GADNativeAppInstallAdLoaderDelegate implementation - -- (void)adLoader:(GADAdLoader *)adLoader - didReceiveNativeAppInstallAd:(GADNativeAppInstallAd *)nativeAppInstallAd { - if (![self isValidAppInstallAd:nativeAppInstallAd]) { - MPGoogleLogInfo(@"App install ad is missing one or more required assets, failing the request"); - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidAdServerResponse( - @"Missing one or more required assets.")]; - return; - } - - MPGoogleAdMobNativeAdAdapter *adapter = - [[MPGoogleAdMobNativeAdAdapter alloc] initWithAdMobNativeAppInstallAd:nativeAppInstallAd]; - MPNativeAd *moPubNativeAd = [[MPNativeAd alloc] initWithAdAdapter:adapter]; - - NSMutableArray *imageURLs = [NSMutableArray array]; - - if ([moPubNativeAd.properties[kAdIconImageKey] length]) { - if (![MPNativeAdUtils addURLString:moPubNativeAd.properties[kAdIconImageKey] - toURLArray:imageURLs]) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidImageURL()]; - } - } - - if ([moPubNativeAd.properties[kAdMainImageKey] length]) { - if (![MPNativeAdUtils addURLString:moPubNativeAd.properties[kAdMainImageKey] - toURLArray:imageURLs]) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidImageURL()]; - } - } - - [super precacheImagesWithURLs:imageURLs - completionBlock:^(NSArray *errors) { - if (errors) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForImageDownloadFailure()]; - } else { - [self.delegate nativeCustomEvent:self didLoadAd:moPubNativeAd]; - } - }]; -} - -#pragma mark GADNativeContentAdLoaderDelegate implementation - -- (void)adLoader:(GADAdLoader *)adLoader - didReceiveNativeContentAd:(GADNativeContentAd *)nativeContentAd { - if (![self isValidContentAd:nativeContentAd]) { - MPGoogleLogInfo(@"Content ad is missing one or more required assets, failing the request"); - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidAdServerResponse( - @"Missing one or more required assets.")]; - return; - } - - MPGoogleAdMobNativeAdAdapter *adapter = - [[MPGoogleAdMobNativeAdAdapter alloc] initWithAdMobNativeContentAd:nativeContentAd]; - MPNativeAd *interfaceAd = [[MPNativeAd alloc] initWithAdAdapter:adapter]; - - NSMutableArray *imageURLs = [NSMutableArray array]; - - if ([interfaceAd.properties[kAdIconImageKey] length]) { - if (![MPNativeAdUtils addURLString:interfaceAd.properties[kAdIconImageKey] - toURLArray:imageURLs]) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidImageURL()]; - } - } - - if ([interfaceAd.properties[kAdMainImageKey] length]) { - if (![MPNativeAdUtils addURLString:interfaceAd.properties[kAdMainImageKey] - toURLArray:imageURLs]) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForInvalidImageURL()]; - } - } - - [super precacheImagesWithURLs:imageURLs - completionBlock:^(NSArray *errors) { - if (errors) { - [self.delegate nativeCustomEvent:self - didFailToLoadAdWithError:MPNativeAdNSErrorForImageDownloadFailure()]; - } else { - [self.delegate nativeCustomEvent:self didLoadAd:interfaceAd]; - } - }]; -} - -#pragma mark - Private Methods - -/// Checks the app install ad has required assets or not. -- (BOOL)isValidAppInstallAd:(GADNativeAppInstallAd *)appInstallAd { - return (appInstallAd.headline && appInstallAd.body && appInstallAd.icon && - appInstallAd.images.count && appInstallAd.callToAction); -} - -/// Checks the content ad has required assets or not. -- (BOOL)isValidContentAd:(GADNativeContentAd *)contentAd { - return (contentAd.headline && contentAd.body && contentAd.logo && contentAd.images.count && - contentAd.callToAction); -} -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.h deleted file mode 100755 index 5ce93a0ffc..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.h +++ /dev/null @@ -1,23 +0,0 @@ -#if __has_include(<MoPub / MoPub.h>) -#import <MoPub/MoPub.h> -#else -#import "MPNativeAdRenderer.h" -#import "MPNativeAdRendererSettings.h" -#endif - -@class MPNativeAdRendererConfiguration; -@class MPStaticNativeAdRendererSettings; - -@interface MPGoogleAdMobNativeRenderer : NSObject<MPNativeAdRendererSettings> - -/// The viewSizeHandler is used to allow the app to configure its native ad view size. -@property(nonatomic, readwrite, copy) MPNativeViewSizeHandler viewSizeHandler; - -/// Constructs and returns an MPNativeAdRendererConfiguration object specific for the -/// MPGoogleAdMobNativeRenderer. You must set all the properties on the configuration object. -/// @param rendererSettings Application defined settings. -/// @return A configuration object for MPGoogleAdMobNativeRenderer. -+ (MPNativeAdRendererConfiguration *)rendererConfigurationWithRendererSettings: - (id<MPNativeAdRendererSettings>)rendererSettings; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.m deleted file mode 100755 index aa36d4cb33..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobNativeRenderer.m +++ /dev/null @@ -1,309 +0,0 @@ -#import "MPGoogleAdMobNativeRenderer.h" - -#import "MPAdDestinationDisplayAgent.h" -#import "MPGoogleAdMobNativeAdAdapter.h" -#import "MPLogging.h" -#import "MPNativeAdAdapter.h" -#import "MPNativeAdConstants.h" -#import "MPNativeAdError.h" -#import "MPNativeAdRendererConfiguration.h" -#import "MPNativeAdRendererImageHandler.h" -#import "MPNativeAdRendering.h" -#import "MPNativeAdRenderingImageLoader.h" -#import "MPNativeCache.h" -#import "MPNativeView.h" -#import "MPStaticNativeAdRendererSettings.h" -#import "UIView+MPGoogleAdMobAdditions.h" - -@interface MPGoogleAdMobNativeRenderer ()<MPNativeAdRendererImageHandlerDelegate> - -/// Publisher adView which is rendering. -@property(nonatomic, strong) UIView<MPNativeAdRendering> *adView; - -/// MPGoogleAdMobNativeAdAdapter instance. -@property(nonatomic, strong) MPGoogleAdMobNativeAdAdapter *adapter; - -/// YES if adView is in view hierarchy. -@property(nonatomic, assign) BOOL adViewInViewHierarchy; - -/// MPNativeAdRendererImageHandler instance. -@property(nonatomic, strong) MPNativeAdRendererImageHandler *rendererImageHandler; - -/// Class of renderingViewClass. -@property(nonatomic, strong) Class renderingViewClass; - -/// GADNativeAppInstallAdView instance. -@property(nonatomic, strong) GADNativeAppInstallAdView *appInstallAdView; - -@end - -@implementation MPGoogleAdMobNativeRenderer - -@synthesize viewSizeHandler; - -/// Construct and return an MPNativeAdRendererConfiguration object, you must set all the properties -/// on the configuration object. -+ (MPNativeAdRendererConfiguration *)rendererConfigurationWithRendererSettings: -(id<MPNativeAdRendererSettings>)rendererSettings { - MPNativeAdRendererConfiguration *config = [[MPNativeAdRendererConfiguration alloc] init]; - config.rendererClass = [self class]; - config.rendererSettings = rendererSettings; - config.supportedCustomEvents = @[ @"MPGoogleAdMobNativeCustomEvent" ]; - - return config; -} - -/// Renderer settings are objects that allow you to expose configurable properties to the -/// application. MPGoogleAdMobNativeRenderer renderer will be initialized with these settings. -- (instancetype)initWithRendererSettings:(id<MPNativeAdRendererSettings>)rendererSettings { - if (self = [super init]) { - MPStaticNativeAdRendererSettings *settings = - (MPStaticNativeAdRendererSettings *)rendererSettings; - _renderingViewClass = settings.renderingViewClass; - viewSizeHandler = [settings.viewSizeHandler copy]; - _rendererImageHandler = [MPNativeAdRendererImageHandler new]; - _rendererImageHandler.delegate = self; - } - - return self; -} - -/// Returns an ad view rendered using provided |adapter|. Sets an |error| if any error is -/// encountered. -- (UIView *)retrieveViewWithAdapter:(id<MPNativeAdAdapter>)adapter error:(NSError **)error { - if (!adapter || ![adapter isKindOfClass:[MPGoogleAdMobNativeAdAdapter class]]) { - if (error) { - *error = MPNativeAdNSErrorForRenderValueTypeError(); - } - - return nil; - } - - self.adapter = (MPGoogleAdMobNativeAdAdapter *)adapter; - - if ([self.renderingViewClass respondsToSelector:@selector(nibForAd)]) { - self.adView = (UIView<MPNativeAdRendering> *)[ - [[self.renderingViewClass nibForAd] instantiateWithOwner:nil options:nil] firstObject]; - } else { - self.adView = [[self.renderingViewClass alloc] init]; - } - - self.adView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; - - if (self.adapter.adMobNativeAppInstallAd) { - [self renderAppInstallAdViewWithAdapter:self.adapter]; - } else { - [self renderContentAdViewWithAdapter:self.adapter]; - } - - return self.adView; -} - -/// Creates native app install ad view with adapter. We added GADNativeAppInstallAdView assets on -/// top of MoPub's adView, to track impressions & clicks. -- (void)renderAppInstallAdViewWithAdapter:(id<MPNativeAdAdapter>)adapter { - // We only load text here. We're creating the GADNativeAppInstallAdView and preparing text - // assets. - GADNativeAppInstallAdView *gadAppInstallAdView = [[GADNativeAppInstallAdView alloc] init]; - [self.adView addSubview:gadAppInstallAdView]; - [gadAppInstallAdView gad_fillSuperview]; - - gadAppInstallAdView.adChoicesView = (GADAdChoicesView *)[self.adapter privacyInformationIconView]; - gadAppInstallAdView.nativeAppInstallAd = self.adapter.adMobNativeAppInstallAd; - if ([self.adView respondsToSelector:@selector(nativeTitleTextLabel)]) { - UILabel *headlineView = [[UILabel alloc] initWithFrame:CGRectZero]; - headlineView.text = self.adapter.adMobNativeAppInstallAd.headline; - headlineView.textColor = [UIColor clearColor]; - gadAppInstallAdView.headlineView = headlineView; - [self.adView.nativeTitleTextLabel addSubview:headlineView]; - [headlineView gad_fillSuperview]; - self.adView.nativeTitleTextLabel.text = adapter.properties[kAdTitleKey]; - } - - if ([self.adView respondsToSelector:@selector(nativeMainTextLabel)]) { - UILabel *bodyView = [[UILabel alloc] initWithFrame:CGRectZero]; - bodyView.text = self.adapter.adMobNativeAppInstallAd.body; - bodyView.textColor = [UIColor clearColor]; - gadAppInstallAdView.bodyView = bodyView; - [self.adView.nativeMainTextLabel addSubview:bodyView]; - [bodyView gad_fillSuperview]; - self.adView.nativeMainTextLabel.text = adapter.properties[kAdTextKey]; - } - - if ([self.adView respondsToSelector:@selector(nativeCallToActionTextLabel)] && - self.adView.nativeCallToActionTextLabel) { - UILabel *callToActionView = [[UILabel alloc] initWithFrame:CGRectZero]; - callToActionView.text = self.adapter.adMobNativeAppInstallAd.callToAction; - callToActionView.textColor = [UIColor clearColor]; - gadAppInstallAdView.callToActionView = callToActionView; - [self.adView.nativeCallToActionTextLabel addSubview:callToActionView]; - [callToActionView gad_fillSuperview]; - self.adView.nativeCallToActionTextLabel.text = adapter.properties[kAdCTATextKey]; - } - - // We delay loading of images until the view is added to the view hierarchy so we don't - // unnecessarily load images from the cache if the user is scrolling fast. So we will just store - // the image URLs for now. - if ([self.adView respondsToSelector:@selector(nativeMainImageView)]) { - NSString *mainImageURLString = adapter.properties[kAdMainImageKey]; - GADNativeAdImage *nativeAdImage = - [[GADNativeAdImage alloc] initWithURL:[NSURL URLWithString:mainImageURLString] scale:1]; - UIImageView *mainMediaImageView = [[UIImageView alloc] initWithFrame:CGRectZero]; - mainMediaImageView.image = nativeAdImage.image; - gadAppInstallAdView.imageView = mainMediaImageView; - [self.adView.nativeMainImageView addSubview:mainMediaImageView]; - [mainMediaImageView gad_fillSuperview]; - } - - if ([self.adView respondsToSelector:@selector(nativeIconImageView)]) { - NSString *iconImageURLString = adapter.properties[kAdIconImageKey]; - GADNativeAdImage *nativeAdImage = - [[GADNativeAdImage alloc] initWithURL:[NSURL URLWithString:iconImageURLString] scale:1]; - UIImageView *iconView = [[UIImageView alloc] initWithFrame:CGRectZero]; - iconView.image = nativeAdImage.image; - gadAppInstallAdView.iconView = iconView; - [self.adView.nativeIconImageView addSubview:iconView]; - [iconView gad_fillSuperview]; - } - - // See if the ad contains a star rating and notify the view if it does. - if ([self.adView respondsToSelector:@selector(layoutStarRating:)]) { - NSNumber *starRatingNum = adapter.properties[kAdStarRatingKey]; - if ([starRatingNum isKindOfClass:[NSNumber class]] && - starRatingNum.floatValue >= kStarRatingMinValue && - starRatingNum.floatValue <= kStarRatingMaxValue) { - [self.adView layoutStarRating:starRatingNum]; - } - } - - // See if the ad contains the nativePrivacyInformationIconImageView and add GADAdChoices view - // as its subview if it does. - if ([self.adView respondsToSelector:@selector(nativePrivacyInformationIconImageView)]) { - [self.adView.nativePrivacyInformationIconImageView - addSubview:gadAppInstallAdView.adChoicesView]; - } -} - -/// Creates native app content ad view with adapter. We added GADNativeContentAdView assets on top -/// of MoPub's adView, to track impressions & clicks. -- (void)renderContentAdViewWithAdapter:(id<MPNativeAdAdapter>)adapter { - // We only load text here. We're creating the GADNativeContentAdView and preparing text assets. - GADNativeContentAdView *gadAppContentAdView = [[GADNativeContentAdView alloc] init]; - [self.adView addSubview:gadAppContentAdView]; - [gadAppContentAdView gad_fillSuperview]; - - gadAppContentAdView.adChoicesView = (GADAdChoicesView *)[self.adapter privacyInformationIconView]; - gadAppContentAdView.nativeContentAd = self.adapter.adMobNativeContentAd; - if ([self.adView respondsToSelector:@selector(nativeTitleTextLabel)]) { - UILabel *headlineView = [[UILabel alloc] initWithFrame:CGRectZero]; - headlineView.text = self.adapter.adMobNativeContentAd.headline; - headlineView.textColor = [UIColor clearColor]; - gadAppContentAdView.headlineView = headlineView; - [self.adView.nativeTitleTextLabel addSubview:headlineView]; - [headlineView gad_fillSuperview]; - self.adView.nativeTitleTextLabel.text = adapter.properties[kAdTitleKey]; - } - - if ([self.adView respondsToSelector:@selector(nativeMainTextLabel)]) { - UILabel *bodyView = [[UILabel alloc] initWithFrame:CGRectZero]; - bodyView.text = self.adapter.adMobNativeContentAd.body; - bodyView.textColor = [UIColor clearColor]; - gadAppContentAdView.bodyView = bodyView; - [self.adView.nativeMainTextLabel addSubview:bodyView]; - [bodyView gad_fillSuperview]; - self.adView.nativeMainTextLabel.text = adapter.properties[kAdTextKey]; - } - - if ([self.adView respondsToSelector:@selector(nativeCallToActionTextLabel)] && - self.adView.nativeCallToActionTextLabel) { - UILabel *callToActionView = [[UILabel alloc] initWithFrame:CGRectZero]; - callToActionView.text = self.adapter.adMobNativeContentAd.callToAction; - callToActionView.textColor = [UIColor clearColor]; - gadAppContentAdView.callToActionView = callToActionView; - [self.adView.nativeCallToActionTextLabel addSubview:callToActionView]; - [callToActionView gad_fillSuperview]; - self.adView.nativeCallToActionTextLabel.text = adapter.properties[kAdCTATextKey]; - } - - // We delay loading of images until the view is added to the view hierarchy so we don't - // unnecessarily load images from the cache if the user is scrolling fast. So we will just store - // the image URLs for now. - if ([self.adView respondsToSelector:@selector(nativeMainImageView)]) { - NSString *mainImageURLString = adapter.properties[kAdMainImageKey]; - GADNativeAdImage *nativeAdImage = - [[GADNativeAdImage alloc] initWithURL:[NSURL URLWithString:mainImageURLString] scale:1]; - UIImageView *mainMediaImageView = [[UIImageView alloc] initWithFrame:CGRectZero]; - mainMediaImageView.image = nativeAdImage.image; - gadAppContentAdView.imageView = mainMediaImageView; - [self.adView.nativeMainImageView addSubview:mainMediaImageView]; - [mainMediaImageView gad_fillSuperview]; - } - - if ([self.adView respondsToSelector:@selector(nativeIconImageView)]) { - NSString *iconImageURLString = adapter.properties[kAdIconImageKey]; - GADNativeAdImage *nativeAdImage = - [[GADNativeAdImage alloc] initWithURL:[NSURL URLWithString:iconImageURLString] scale:1]; - UIImageView *iconView = [[UIImageView alloc] initWithFrame:CGRectZero]; - iconView.image = nativeAdImage.image; - gadAppContentAdView.logoView = iconView; - [self.adView.nativeIconImageView addSubview:iconView]; - [iconView gad_fillSuperview]; - } - - // See if the ad contains the nativePrivacyInformationIconImageView and add GADAdChoices view - // as its subview if it does. - if ([self.adView respondsToSelector:@selector(nativePrivacyInformationIconImageView)]) { - [self.adView.nativePrivacyInformationIconImageView - addSubview:gadAppContentAdView.adChoicesView]; - } -} - -/// Checks whether the ad view contains media. -- (BOOL)shouldLoadMediaView { - return [self.adapter respondsToSelector:@selector(mainMediaView)] && - [self.adapter mainMediaView] && - [self.adView respondsToSelector:@selector(nativeMainImageView)]; -} - -/// Check the ad view is superView or not, if not adView will move to superView. -- (void)adViewWillMoveToSuperview:(UIView *)superview { - self.adViewInViewHierarchy = (superview != nil); - - if (superview) { - // We'll start asychronously loading the native ad images now. - if (self.adapter.properties[kAdIconImageKey] && - [self.adView respondsToSelector:@selector(nativeIconImageView)]) { - [self.rendererImageHandler - loadImageForURL:[NSURL URLWithString:self.adapter.properties[kAdIconImageKey]] - intoImageView:self.adView.nativeIconImageView]; - } - - // Only handle the loading of the main image if the adapter doesn't already have a view for it. - if (!([self.adapter respondsToSelector:@selector(mainMediaView)] && - [self.adapter mainMediaView])) { - if (self.adapter.properties[kAdMainImageKey] && - [self.adView respondsToSelector:@selector(nativeMainImageView)]) { - [self.rendererImageHandler - loadImageForURL:[NSURL URLWithString:self.adapter.properties[kAdMainImageKey]] - intoImageView:self.adView.nativeMainImageView]; - } - } - - // Lay out custom assets here as the custom assets may contain images that need to be loaded. - if ([self.adView respondsToSelector:@selector(layoutCustomAssetsWithProperties:imageLoader:)]) { - // Create a simplified image loader for the ad view to use. - MPNativeAdRenderingImageLoader *imageLoader = - [[MPNativeAdRenderingImageLoader alloc] initWithImageHandler:self.rendererImageHandler]; - [self.adView layoutCustomAssetsWithProperties:self.adapter.properties - imageLoader:imageLoader]; - } - } -} - -#pragma mark - MPNativeAdRendererImageHandlerDelegate - -- (BOOL)nativeAdViewInViewHierarchy { - return self.adViewInViewHierarchy; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.h deleted file mode 100755 index 2ec02ee475..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.h +++ /dev/null @@ -1,9 +0,0 @@ -#if __has_include(<MoPub/MoPub.h>) -#import <MoPub/MoPub.h> -#else -#import "MPRewardedVideoCustomEvent.h" -#endif - -@interface MPGoogleAdMobRewardedVideoCustomEvent : MPRewardedVideoCustomEvent - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.m deleted file mode 100755 index 3c1bc52e8e..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MPGoogleAdMobRewardedVideoCustomEvent.m +++ /dev/null @@ -1,132 +0,0 @@ -#import "MPGoogleAdMobRewardedVideoCustomEvent.h" - -#import <GoogleMobileAds/GoogleMobileAds.h> -#import "MPLogging.h" -#import "MPRewardedVideoError.h" -#import "MPRewardedVideoReward.h" -#import "MPRewardedVideoCustomEvent+Caching.h" - -@interface MPGoogleAdMobRewardedVideoCustomEvent () <GADRewardBasedVideoAdDelegate> - -@end - -@implementation MPGoogleAdMobRewardedVideoCustomEvent - -- (void)initializeSdkWithParameters:(NSDictionary *)parameters { - NSString *applicationID = [parameters objectForKey:@"appid"]; - if (applicationID) { - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - [GADMobileAds configureWithApplicationID:applicationID]; - }); - } -} - -- (void)requestRewardedVideoWithCustomEventInfo:(NSDictionary *)info { - [self initializeSdkWithParameters:info]; - - // Cache the network initialization parameters - [self setCachedInitializationParameters:info]; - - NSString *adUnitID = [info objectForKey:@"adunit"]; - if (!adUnitID) { - NSError *error = [NSError errorWithDomain:MoPubRewardedVideoAdsSDKDomain - code:MPRewardedVideoAdErrorInvalidAdUnitID - userInfo:@{NSLocalizedDescriptionKey: - @"Ad Unit ID cannot be nil."}]; - [self.delegate rewardedVideoDidFailToLoadAdForCustomEvent:self error:error]; - return; - } - - GADRequest *request = [GADRequest request]; - request.requestAgent = @"MoPub"; - - [GADRewardBasedVideoAd sharedInstance].delegate = self; - [[GADRewardBasedVideoAd sharedInstance] loadRequest:request withAdUnitID:adUnitID]; -} - -- (BOOL)hasAdAvailable { - return [GADRewardBasedVideoAd sharedInstance].isReady; -} - -- (void)presentRewardedVideoFromViewController:(UIViewController *)viewController { - if ([self hasAdAvailable]) { - [[GADRewardBasedVideoAd sharedInstance] presentFromRootViewController:viewController]; - } - else { - // We will send the error if the reward-based video ad has already been presented. - NSError *error = [NSError errorWithDomain:MoPubRewardedVideoAdsSDKDomain - code:MPRewardedVideoAdErrorAdAlreadyPlayed - userInfo:@{NSLocalizedDescriptionKey: - @"Reward-based video ad has already been shown."}]; - [self.delegate rewardedVideoDidFailToPlayForCustomEvent:self error:error]; - } -} - -- (BOOL)enableAutomaticImpressionAndClickTracking { - return NO; -} - -// MoPub's API includes this method because it's technically possible for two MoPub custom events or -// adapters to wrap the same SDK and therefore both claim ownership of the same cached ad. The -// method will be called if 1) this custom event has already invoked -// rewardedVideoDidLoadAdForCustomEvent: on the delegate, and 2) some other custom event plays a -// rewarded video ad. It's a way of forcing this custom event to double-check that its ad is -// definitely still available and is not the one that just played. If the ad is still available, no -// action is necessary. If it's not, this custom event should call -// rewardedVideoDidExpireForCustomEvent: to let the MoPub SDK know that it's no longer ready to play -// and needs to load another ad. That event will be passed on to the publisher app, which can then -// trigger another load. -- (void)handleAdPlayedForCustomEventNetwork { - if (![self hasAdAvailable]) { - // Sending rewardedVideoDidExpireForCustomEvent: callback because the reward-based video ad will - // not be available once its been presented. - [self.delegate rewardedVideoDidExpireForCustomEvent:self]; - } -} - -#pragma mark - GADRewardBasedVideoAdDelegate methods - -- (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd - didRewardUserWithReward:(GADAdReward *)reward { - MPRewardedVideoReward *moPubReward = [[MPRewardedVideoReward alloc] - initWithCurrencyType:reward.type - amount:reward.amount]; - [self.delegate rewardedVideoShouldRewardUserForCustomEvent:self reward:moPubReward]; -} - -- (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd - didFailToLoadWithError:(NSError *)error { - [self.delegate rewardedVideoDidFailToLoadAdForCustomEvent:self error:error]; -} - -- (void)rewardBasedVideoAdDidReceiveAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd { - [self.delegate rewardedVideoDidLoadAdForCustomEvent:self]; -} - -- (void)rewardBasedVideoAdDidOpen:(GADRewardBasedVideoAd *)rewardBasedVideoAd { - [self.delegate rewardedVideoWillAppearForCustomEvent:self]; - [self.delegate rewardedVideoDidAppearForCustomEvent:self]; - // Recording an impression after the reward-based video ad appears on the screen. - [self.delegate trackImpression]; -} - -- (void)rewardBasedVideoAdDidStartPlaying:(GADRewardBasedVideoAd *)rewardBasedVideoAd { - // MoPub rewarded video custom event doesn't have a callback when the video starts playing. - MPLogInfo(@"Google AdMob reward-based video ad started playing."); -} - -- (void)rewardBasedVideoAdDidClose:(GADRewardBasedVideoAd *)rewardBasedVideoAd { - [self.delegate rewardedVideoWillDisappearForCustomEvent:self]; - [self.delegate rewardedVideoDidDisappearForCustomEvent:self]; -} - -- (void)rewardBasedVideoAdWillLeaveApplication:(GADRewardBasedVideoAd *)rewardBasedVideoAd { - // Recording a click because the rewardBasedVideoAdWillLeaveApplication: is invoked when a click - // on the reward-based video ad happens. - [self.delegate trackClick]; - [self.delegate rewardedVideoDidReceiveTapEventForCustomEvent:self]; - [self.delegate rewardedVideoWillLeaveApplicationForCustomEvent:self]; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/LICENSE b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/LICENSE deleted file mode 100755 index ca6cf23021..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/LICENSE +++ /dev/null @@ -1,3 +0,0 @@ -The MoPub SDK License can be found at http://www.mopub.com/legal/sdk-license-agreement/ - - diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/MoPub-AdMob-Adapters.podspec b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/MoPub-AdMob-Adapters.podspec deleted file mode 100755 index c5cd4a4e9d..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/MoPub-AdMob-PodSpecs/MoPub-AdMob-Adapters.podspec +++ /dev/null @@ -1,24 +0,0 @@ -# -# Be sure to run `pod lib lint MoPub-Google-Adapters.podspec' to ensure this is a -# valid spec before submitting. -# - -Pod::Spec.new do |s| -s.name = 'MoPub-AdMob-Adapters' -s.version = '7.30.0.1' -s.summary = 'Google Adapters for mediating through MoPub.' -s.description = <<-DESC -Supported ad formats: Banner, Interstitial, Rewarded Video, Native.\n -To download and integrate the Mobile Ads SDK, please check this tutorial: https://developers.google.com/admob/ios/download.\n\n -For inquiries and support, please utilize the developer support forum: https://groups.google.com/forum/#!forum/google-admob-ads-sdk/. \n -DESC -s.homepage = 'https://github.com/mopub/mopub-ios-mediation' -s.license = { :type => 'New BSD', :file => 'LICENSE' } -s.author = { 'MoPub' => 'support@mopub.com' } -s.source = { :git => 'https://github.com/mopub/mopub-ios-mediation.git', :commit => 'master' } -s.ios.deployment_target = '8.0' -s.static_framework = true -s.source_files = 'AdMob/*.{h,m}' -s.dependency 'mopub-ios-sdk', '~> 5.0' -s.dependency 'Google-Mobile-Ads-SDK', '7.30.0' -end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/README.md b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/README.md deleted file mode 100755 index 9e04445889..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## Overview - * This folder contains mediation adapters used to mediate AdMob. - * To download and integrate the AdMob SDK, please check [this tutorial](https://developers.google.com/admob/ios/download). - * For inquiries and support, please visit [support](https://groups.google.com/forum/#!forum/google-admob-ads-sdk/) forum. - -## Adapter integration - * To integrate adapters, please visit our [integration tutorial](https://developers.mopub.com/docs/ios/integrating-networks/). diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/GoogleMobileAds b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/GoogleMobileAds Binary files differdeleted file mode 100644 index ccdfefcce2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/GoogleMobileAds +++ /dev/null diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerView.h deleted file mode 100644 index 8d32895013..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerView.h +++ /dev/null @@ -1,110 +0,0 @@ -// -// DFPBannerView.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/DFPCustomRenderedBannerViewDelegate.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADAppEventDelegate.h> -#import <GoogleMobileAds/GADBannerView.h> -#import <GoogleMobileAds/GADCorrelator.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The delegate of a GADAdLoader object must conform to this protocol to receive DFPBannerViews. -@protocol DFPBannerAdLoaderDelegate<GADAdLoaderDelegate> - -/// Asks the delegate which banner ad sizes should be requested. -- (NSArray<NSValue *> *)validBannerSizesForAdLoader:(GADAdLoader *)adLoader; - -/// Tells the delegate that a DFP banner ad was received. -- (void)adLoader:(GADAdLoader *)adLoader didReceiveDFPBannerView:(DFPBannerView *)bannerView; - -@end - -/// The view that displays DoubleClick For Publishers banner ads. -/// -/// To request this ad type using GADAdLoader, you need to pass kGADAdLoaderAdTypeDFPBanner (see -/// GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader's initializer method. If you -/// request this ad type, your delegate must conform to the DFPBannerAdLoaderDelegate protocol. -@interface DFPBannerView : GADBannerView - -/// Required value created on the DFP website. Create a new ad unit for every unique placement of an -/// ad in your application. Set this to the ID assigned for this placement. Ad units are important -/// for targeting and statistics. -/// -/// Example DFP ad unit ID: @"/6499/example/banner" -@property(nonatomic, copy, GAD_NULLABLE) NSString *adUnitID; - -/// Optional delegate that is notified when creatives send app events. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADAppEventDelegate> appEventDelegate; - -/// Optional delegate that is notified when creatives cause the banner to change size. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADAdSizeDelegate> adSizeDelegate; - -/// Optional array of NSValue encoded GADAdSize structs, specifying all valid sizes that are -/// appropriate for this slot. Never create your own GADAdSize directly. Use one of the predefined -/// standard ad sizes (such as kGADAdSizeBanner), or create one using the GADAdSizeFromCGSize -/// method. -/// -/// Example: -/// -/// <pre> -/// NSArray *validSizes = @[ -/// NSValueFromGADAdSize(kGADAdSizeBanner), -/// NSValueFromGADAdSize(kGADAdSizeLargeBanner) -/// ]; -/// -/// bannerView.validAdSizes = validSizes; -/// </pre> -@property(nonatomic, copy, GAD_NULLABLE) NSArray *validAdSizes; - -/// Correlator object for correlating this object to other ad objects. -@property(nonatomic, strong, GAD_NULLABLE) GADCorrelator *correlator; - -/// Indicates that the publisher will record impressions manually when the ad becomes visible to the -/// user. -@property(nonatomic, assign) BOOL enableManualImpressions; - -/// Optional delegate object for custom rendered ads. -@property(nonatomic, weak, GAD_NULLABLE) - IBOutlet id<DFPCustomRenderedBannerViewDelegate> customRenderedBannerViewDelegate; - -/// Video controller for controlling video rendered by this ad view. -@property(nonatomic, strong, readonly) GADVideoController *videoController; - -/// If you've set enableManualImpressions to YES, call this method when the ad is visible. -- (void)recordImpression; - -/// Use this function to resize the banner view without launching a new ad request. -- (void)resize:(GADAdSize)size; - -/// Sets options that configure ad loading. -/// -/// @param adOptions An array of GADAdLoaderOptions objects. The array is deep copied and option -/// objects cannot be modified after calling this method. -- (void)setAdOptions:(NSArray *)adOptions; - -#pragma mark Deprecated - -/// Deprecated. Use the validAdSizes property. -/// Sets the receiver's valid ad sizes to the values pointed to by the provided NULL terminated list -/// of GADAdSize pointers. -/// -/// Example: -/// -/// <pre> -/// GADAdSize size1 = kGADAdSizeBanner; -/// GADAdSize size2 = kGADAdSizeLargeBanner; -/// [bannerView setValidAdSizesWithSizes:&size1, &size2, NULL]; -/// </pre> -- (void)setValidAdSizesWithSizes:(GADAdSize *)firstSize, ... NS_REQUIRES_NIL_TERMINATION - GAD_DEPRECATED_MSG_ATTRIBUTE("Use validAdSizes property."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerViewOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerViewOptions.h deleted file mode 100644 index eff98fbd11..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPBannerViewOptions.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// DFPBannerViewOptions.h -// Google Mobile Ads SDK -// -// Copyright © 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GADAdSizeDelegate.h> -#import <GoogleMobileAds/GADAppEventDelegate.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Ad loader options for banner ads. -@interface DFPBannerViewOptions : GADAdLoaderOptions - -/// Optional delegate that is notified if the loaded banner sends app events. -@property(nonatomic, weak, GAD_NULLABLE) id<GADAppEventDelegate> appEventDelegate; - -/// Optional delegate that is notified if the loaded banner changes size. -@property(nonatomic, weak, GAD_NULLABLE) id<GADAdSizeDelegate> adSizeDelegate; - -/// Whether the publisher will record impressions manually when the ad becomes visible to the user. -@property(nonatomic, assign) BOOL enableManualImpressions; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedAd.h deleted file mode 100644 index 5c2b0abb46..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedAd.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// DFPCustomRenderedAd.h -// Google Mobile Ads SDK -// -// Copyright 2014 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Custom rendered ad. Your application renders the ad. -@interface DFPCustomRenderedAd : NSObject - -/// The ad's HTML. -@property(nonatomic, readonly, copy) NSString *adHTML; - -/// The base URL of the ad's HTML. -@property(nonatomic, readonly, copy) NSURL *adBaseURL; - -/// Call this method when the user clicks the ad. -- (void)recordClick; - -/// Call this method when the ad is visible to the user. -- (void)recordImpression; - -/// Call this method after the ad has been rendered in a UIView object. -- (void)finishedRenderingAdView:(UIView *)view; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedBannerViewDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedBannerViewDelegate.h deleted file mode 100644 index e15b89ebd5..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedBannerViewDelegate.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// DFPCustomRenderedBannerViewDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2014 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class DFPBannerView; -@class DFPCustomRenderedAd; - -GAD_ASSUME_NONNULL_BEGIN - -/// The DFPCustomRenderedAd banner view delegate protocol for notifying the delegate of changes to -/// custom rendered banners. -@protocol DFPCustomRenderedBannerViewDelegate<NSObject> - -/// Called after ad data has been received. You must construct a banner from |customRenderedAd| and -/// call the |customRenderedAd| object's finishedRenderingAdView: when the ad has been rendered. -- (void)bannerView:(DFPBannerView *)bannerView - didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedInterstitialDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedInterstitialDelegate.h deleted file mode 100644 index 0f1f4a8a28..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPCustomRenderedInterstitialDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// DFPCustomRenderedInterstitialDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2014 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class DFPCustomRenderedAd; -@class DFPInterstitial; - -GAD_ASSUME_NONNULL_BEGIN - -/// The DFPCustomRenderedAd interstitial delegate protocol for notifying the delegate of changes to -/// custom rendered interstitials. -@protocol DFPCustomRenderedInterstitialDelegate<NSObject> - -/// Called after ad data has been received. You must construct an interstitial from -/// |customRenderedAd| and call the |customRenderedAd| object's finishedRenderingAdView: method when -/// the ad has been rendered. -- (void)interstitial:(DFPInterstitial *)interstitial - didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPInterstitial.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPInterstitial.h deleted file mode 100644 index e3af0d210c..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPInterstitial.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// DFPInterstitial.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/DFPCustomRenderedInterstitialDelegate.h> -#import <GoogleMobileAds/GADAppEventDelegate.h> -#import <GoogleMobileAds/GADCorrelator.h> -#import <GoogleMobileAds/GADInterstitial.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// DoubleClick For Publishers interstitial ad, a full-screen advertisement shown at natural -/// transition points in your application such as between game levels or news stories. -@interface DFPInterstitial : GADInterstitial - -/// Required value created on the DFP website. Create a new ad unit for every unique placement of an -/// ad in your application. Set this to the ID assigned for this placement. Ad units are important -/// for targeting and stats. -/// -/// Example DFP ad unit ID: @"/6499/example/interstitial" -@property(nonatomic, readonly, copy) NSString *adUnitID; - -/// Correlator object for correlating this object to other ad objects. -@property(nonatomic, strong, GAD_NULLABLE) GADCorrelator *correlator; - -/// Optional delegate that is notified when creatives send app events. -@property(nonatomic, weak, GAD_NULLABLE) id<GADAppEventDelegate> appEventDelegate; - -/// Optional delegate object for custom rendered ads. -@property(nonatomic, weak, GAD_NULLABLE) - id<DFPCustomRenderedInterstitialDelegate> customRenderedInterstitialDelegate; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPRequest.h deleted file mode 100644 index 08f070f1bc..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/DFPRequest.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// DFPRequest.h -// Google Mobile Ads SDK -// -// Copyright 2014 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Add this constant to the testDevices property's array to receive test ads on the simulator. -GAD_EXTERN const id kDFPSimulatorID; - -/// Specifies optional parameters for ad requests. -@interface DFPRequest : GADRequest - -/// Publisher provided user ID. -@property(nonatomic, copy, GAD_NULLABLE) NSString *publisherProvidedID; - -/// Array of strings used to exclude specified categories in ad results. -@property(nonatomic, copy, GAD_NULLABLE) NSArray *categoryExclusions; - -/// Key-value pairs used for custom targeting. -@property(nonatomic, copy, GAD_NULLABLE) NSDictionary *customTargeting; - -/// This API is deprecated and a no-op, use an instance of GADCorrelator set on DFPInterstitial or -/// DFPBannerView objects to correlate requests. -+ (void)updateCorrelator GAD_DEPRECATED_MSG_ATTRIBUTE( - "Set GADCorrelator objects on your ads instead. This method no longer affects ad correlation."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdChoicesView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdChoicesView.h deleted file mode 100644 index c9bab806fa..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdChoicesView.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// GADAdChoicesView.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Displays AdChoices content. -/// -/// If a GADAdChoicesView is set on GADNativeAppInstallAdView or GADNativeContentAdView prior to -/// calling -setNativeAppInstallAd: or -setNativeContentAd:, AdChoices content will render inside -/// the GADAdChoicesView. By default, AdChoices is placed in the top right corner of -/// GADNativeAppInstallAdView and GADNativeContentAdView. -@interface GADAdChoicesView : UIView - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoader.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoader.h deleted file mode 100644 index f57216162c..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoader.h +++ /dev/null @@ -1,53 +0,0 @@ -// -// GADAdLoader.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdLoaderAdTypes.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Ad loader options base class. See each ad type's header for available GADAdLoaderOptions -/// subclasses. -@interface GADAdLoaderOptions : NSObject -@end - -/// Loads ads. See GADAdLoaderAdTypes.h for available ad types. -@interface GADAdLoader : NSObject - -/// Object notified when an ad request succeeds or fails. Must conform to requested ad types' -/// delegate protocols. -@property(nonatomic, weak, GAD_NULLABLE) id<GADAdLoaderDelegate> delegate; - -/// The ad loader's ad unit ID. -@property(nonatomic, readonly) NSString *adUnitID; - -/// Indicates whether the ad loader is loading. -@property(nonatomic, getter=isLoading, readonly) BOOL loading; - -/// Returns an initialized ad loader configured to load the specified ad types. -/// -/// @param rootViewController The root view controller is used to present ad click actions. -/// @param adTypes An array of ad types. See GADAdLoaderAdTypes.h for available ad types. -/// @param options An array of GADAdLoaderOptions objects to configure how ads are loaded, or nil to -/// use default options. See each ad type's header for available GADAdLoaderOptions subclasses. -- (instancetype)initWithAdUnitID:(NSString *)adUnitID - rootViewController:(UIViewController *GAD_NULLABLE_TYPE)rootViewController - adTypes:(NSArray<GADAdLoaderAdType> *)adTypes - options:(NSArray<GADAdLoaderOptions *> *GAD_NULLABLE_TYPE)options; - -/// Loads the ad and informs the delegate of the outcome. -- (void)loadRequest:(GADRequest *GAD_NULLABLE_TYPE)request; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderAdTypes.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderAdTypes.h deleted file mode 100644 index a99a5d49f3..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderAdTypes.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// GADAdLoaderAdTypes.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -typedef NSString *GADAdLoaderAdType GAD_STRING_ENUM; - -/// Use with GADAdLoader to request native app install ads. To receive ads, the ad loader's delegate -/// must conform to the GADNativeAppInstallAdLoaderDelegate protocol. See GADNativeAppInstallAd.h. -/// -/// See GADNativeAdImageAdLoaderOptions.h for ad loader image options. -GAD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeNativeAppInstall; - -/// Use with GADAdLoader to request native content ads. To receive ads, the ad loader's delegate -/// must conform to the GADNativeContentAdLoaderDelegate protocol. See GADNativeContentAd.h. -/// -/// See GADNativeAdImageAdLoaderOptions.h for ad loader image options. -GAD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeNativeContent; - -/// Use with GADAdLoader to request native custom template ads. To receive ads, the ad loader's -/// delegate must conform to the GADNativeCustomTemplateAdLoaderDelegate protocol. See -/// GADNativeCustomTemplateAd.h. -GAD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeNativeCustomTemplate; - -/// Use with GADAdLoader to request DFP banner ads. To receive ads, the ad loader's delegate must -/// conform to the DFPBannerAdLoaderDelegate protocol. See DFPBannerView.h. -GAD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeDFPBanner; - -/// Use with GADAdLoader to request native ads. To receive ads, the ad loader's delegate must -/// conform to the GADUnifiedNativeAdLoaderDelegate protocol. See GADUnifiedNativeAd.h. -GAD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeUnifiedNative; - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderDelegate.h deleted file mode 100644 index a72a95f6ad..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdLoaderDelegate.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// GADAdLoaderDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADAdLoader; - -GAD_ASSUME_NONNULL_BEGIN - -/// Base ad loader delegate protocol. Ad types provide extended protocols that declare methods to -/// handle successful ad loads. -@protocol GADAdLoaderDelegate<NSObject> - -/// Called when adLoader fails to load an ad. -- (void)adLoader:(GADAdLoader *)adLoader didFailToReceiveAdWithError:(GADRequestError *)error; - -@optional - -/// Called after adLoader has finished loading. -- (void)adLoaderDidFinishLoading:(GADAdLoader *)adLoader; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdNetworkExtras.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdNetworkExtras.h deleted file mode 100644 index 55c62f1344..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdNetworkExtras.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// GADAdNetworkExtras.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// An object implementing this protocol contains information set by the publisher on the client -/// device for a particular ad network. -/// -/// Ad networks should create an 'extras' object implementing this protocol for their publishers to -/// use. -@protocol GADAdNetworkExtras<NSObject> -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdReward.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdReward.h deleted file mode 100644 index 38aeefb552..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdReward.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// GADAdReward.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Reward information for GADRewardBasedVideoAd ads. -@interface GADAdReward : NSObject - -/// Type of the reward. -@property(nonatomic, readonly, copy) NSString *type; - -/// Amount rewarded to the user. -@property(nonatomic, readonly, copy) NSDecimalNumber *amount; - -/// Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType -/// and rewardAmount must not be nil. -- (instancetype)initWithRewardType:(NSString *)rewardType - rewardAmount:(NSDecimalNumber *)rewardAmount NS_DESIGNATED_INITIALIZER; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSize.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSize.h deleted file mode 100644 index c92b767d26..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSize.h +++ /dev/null @@ -1,117 +0,0 @@ -// -// GADAdSize.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// A valid GADAdSize is considered to be one of the predefined GADAdSize constants or a GADAdSize -/// constructed by GADAdSizeFromCGSize, GADAdSizeFullWidthPortraitWithHeight, -/// GADAdSizeFullWidthLandscapeWithHeight. -/// -/// Do not create a GADAdSize manually. Use one of the kGADAdSize constants. Treat GADAdSize as an -/// opaque type. Do not access any fields directly. To obtain a concrete CGSize, use the function -/// CGSizeFromGADAdSize(). -typedef struct GAD_BOXABLE GADAdSize GADAdSize; - -/// Ad size. -/// -/// @see typedef GADAdSize -struct GAD_BOXABLE GADAdSize { - CGSize size; ///< The ad size. Don't modify this value directly. - NSUInteger flags; ///< Reserved. -}; - -#pragma mark Standard Sizes - -/// iPhone and iPod Touch ad size. Typically 320x50. -GAD_EXTERN GADAdSize const kGADAdSizeBanner; - -/// Taller version of kGADAdSizeBanner. Typically 320x100. -GAD_EXTERN GADAdSize const kGADAdSizeLargeBanner; - -/// Medium Rectangle size for the iPad (especially in a UISplitView's left pane). Typically 300x250. -GAD_EXTERN GADAdSize const kGADAdSizeMediumRectangle; - -/// Full Banner size for the iPad (especially in a UIPopoverController or in -/// UIModalPresentationFormSheet). Typically 468x60. -GAD_EXTERN GADAdSize const kGADAdSizeFullBanner; - -/// Leaderboard size for the iPad. Typically 728x90. -GAD_EXTERN GADAdSize const kGADAdSizeLeaderboard; - -/// Skyscraper size for the iPad. Mediation only. AdMob/Google does not offer this size. Typically -/// 120x600. -GAD_EXTERN GADAdSize const kGADAdSizeSkyscraper; - -/// An ad size that spans the full width of the application in portrait orientation. The height is -/// typically 50 pixels on an iPhone/iPod UI, and 90 pixels tall on an iPad UI. -GAD_EXTERN GADAdSize const kGADAdSizeSmartBannerPortrait; - -/// An ad size that spans the full width of the application in landscape orientation. The height is -/// typically 32 pixels on an iPhone/iPod UI, and 90 pixels tall on an iPad UI. -GAD_EXTERN GADAdSize const kGADAdSizeSmartBannerLandscape; - -/// An ad size that spans the full width of its container, with a height dynamically determined by -/// the ad. -GAD_EXTERN GADAdSize const kGADAdSizeFluid; - -/// Invalid ad size marker. -GAD_EXTERN GADAdSize const kGADAdSizeInvalid; - -#pragma mark Custom Sizes - -/// Returns a custom GADAdSize for the provided CGSize. Use this only if you require a non-standard -/// size. Otherwise, use one of the standard size constants above. -GAD_EXTERN GADAdSize GADAdSizeFromCGSize(CGSize size); - -/// Returns a custom GADAdSize that spans the full width of the application in portrait orientation -/// with the height provided. -GAD_EXTERN GADAdSize GADAdSizeFullWidthPortraitWithHeight(CGFloat height); - -/// Returns a custom GADAdSize that spans the full width of the application in landscape orientation -/// with the height provided. -GAD_EXTERN GADAdSize GADAdSizeFullWidthLandscapeWithHeight(CGFloat height); - -#pragma mark Convenience Functions - -/// Returns YES if the two GADAdSizes are equal, otherwise returns NO. -GAD_EXTERN BOOL GADAdSizeEqualToSize(GADAdSize size1, GADAdSize size2); - -/// Returns a CGSize for the provided a GADAdSize constant. If the GADAdSize is unknown, returns -/// CGSizeZero. -GAD_EXTERN CGSize CGSizeFromGADAdSize(GADAdSize size); - -/// Returns YES if |size| is one of the predefined constants or is a custom GADAdSize generated by -/// GADAdSizeFromCGSize. -GAD_EXTERN BOOL IsGADAdSizeValid(GADAdSize size); - -/// Returns YES if |size| is a fluid ad size. -GAD_EXTERN BOOL GADAdSizeIsFluid(GADAdSize size); - -/// Returns a NSString describing the provided GADAdSize. -GAD_EXTERN NSString *NSStringFromGADAdSize(GADAdSize size); - -/// Returns an NSValue representing the GADAdSize. -GAD_EXTERN NSValue *NSValueFromGADAdSize(GADAdSize size); - -/// Returns a GADAdSize from an NSValue. Returns kGADAdSizeInvalid if the value is not a GADAdSize. -GAD_EXTERN GADAdSize GADAdSizeFromNSValue(NSValue *value); - -#pragma mark Deprecated Macros - -#define GAD_SIZE_320x50 CGSizeFromGADAdSize(kGADAdSizeBanner) -#define GAD_SIZE_320x100 CGSizeFromGADAdSize(kGADAdSizeLargeBanner) -#define GAD_SIZE_300x250 CGSizeFromGADAdSize(kGADAdSizeMediumRectangle) -#define GAD_SIZE_468x60 CGSizeFromGADAdSize(kGADAdSizeFullBanner) -#define GAD_SIZE_728x90 CGSizeFromGADAdSize(kGADAdSizeLeaderboard) -#define GAD_SIZE_120x600 CGSizeFromGADAdSize(kGADAdSizeSkyscraper) - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSizeDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSizeDelegate.h deleted file mode 100644 index ce82adceb9..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAdSizeDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// GADAdSizeDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADBannerView; - -GAD_ASSUME_NONNULL_BEGIN - -/// The class implementing this protocol will be notified when the DFPBannerView changes ad size. -/// Any views that may be affected by the banner size change will have time to adjust. -@protocol GADAdSizeDelegate<NSObject> - -/// Called before the ad view changes to the new size. -- (void)adView:(GADBannerView *)bannerView willChangeAdSizeTo:(GADAdSize)size; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAppEventDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAppEventDelegate.h deleted file mode 100644 index a9f79cf142..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAppEventDelegate.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// GADAppEventDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADBannerView; -@class GADInterstitial; - -GAD_ASSUME_NONNULL_BEGIN - -/// Implement your app event within these methods. The delegate will be notified when the SDK -/// receives an app event message from the ad. -@protocol GADAppEventDelegate<NSObject> - -@optional - -/// Called when the banner receives an app event. -- (void)adView:(GADBannerView *)banner - didReceiveAppEvent:(NSString *)name - withInfo:(NSString *GAD_NULLABLE_TYPE)info; - -/// Called when the interstitial receives an app event. -- (void)interstitial:(GADInterstitial *)interstitial - didReceiveAppEvent:(NSString *)name - withInfo:(NSString *GAD_NULLABLE_TYPE)info; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManager.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManager.h deleted file mode 100644 index c89d64ec3c..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManager.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// GADAudioVideoManager.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAudioVideoManagerDelegate.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Provides audio and video notifications and configurations management. Available only on iOS 7 -/// and above. -/// -/// Don't create an instance of this class and use the one available from GADMobileAds -/// sharedInstace's audioVideoManager. -@interface GADAudioVideoManager : NSObject - -/// Delegate for receiving video and audio updates. -@property(nonatomic, weak, nullable) id<GADAudioVideoManagerDelegate> delegate; - -/// Indicates whether the application wishes to manage audio session. If set as YES, the Google -/// Mobile Ads SDK will stop managing AVAudioSession during the video playback lifecycle. If set as -/// NO, the Google Mobile Ads SDK will control AVAudioSession. That may include: setting -/// AVAudioSession's category to AVAudioSessionCategoryAmbient when all videos are muted, setting -/// AVAudioSession's category to AVAudioSessionCategorySoloAmbient when any playing video becomes -/// unmuted, and allowing background apps to continue playing sound when all videos rendered by -/// Google Mobile Ads SDK are muted or have stopped playing. -@property(nonatomic, assign) BOOL audioSessionIsApplicationManaged; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManagerDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManagerDelegate.h deleted file mode 100644 index 897431a909..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADAudioVideoManagerDelegate.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// GADAudioVideoManagerDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADAudioVideoManager; - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADAudioVideoManagerDelegate<NSObject> - -@optional - -/// Tells the delegate that the Google Mobile Ads SDK will start playing a video. This method isn't -/// called if another video rendered by Google Mobile Ads SDK is already playing. -- (void)audioVideoManagerWillPlayVideo:(GADAudioVideoManager *)audioVideoManager; - -/// Tells the delegate that the Google Mobile Ads SDK has paused/stopped all video playback. -- (void)audioVideoManagerDidPauseAllVideo:(GADAudioVideoManager *)audioVideoManager; - -/// Tells the delegate that at least one video rendered by the Google Mobile Ads SDK will play -/// sound. Your app should stop playing sound when this method is called. -- (void)audioVideoManagerWillPlayAudio:(GADAudioVideoManager *)audioVideoManager; - -/// Tells the delegate that all the video rendered by the Google Mobile Ads SDK has stopped playing -/// sound. Your app can now resume any music playback or produce any kind of sound. Note that this -/// message doesn't mean that all the video has stopped playing, just audio, so you shouldn't -/// deactivate AVAudioSession's instance. Doing so can lead to unexpected video playback behavior. -/// You may deactivate AVAudioSession only when all rendered video ads are paused or have finished -/// playing, and 'audioVideoDidPauseAllVideo:' is called. -- (void)audioVideoManagerDidStopPlayingAudio:(GADAudioVideoManager *)audioVideoManager; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerView.h deleted file mode 100644 index 7a8dc29218..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerView.h +++ /dev/null @@ -1,107 +0,0 @@ -// -// GADBannerView.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GADAdSizeDelegate.h> -#import <GoogleMobileAds/GADBannerViewDelegate.h> -#import <GoogleMobileAds/GADInAppPurchaseDelegate.h> -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The view that displays banner ads. A minimum implementation to get an ad from within a -/// UIViewController class is: -/// -/// <pre> -/// // Create and setup the ad view, specifying the size and origin at {0, 0}. -/// GADBannerView *adView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner]; -/// adView.rootViewController = self; -/// adView.adUnitID = @"ID created when registering your app"; -/// // Place the ad view onto the screen. -/// [self.view addSubview:adView]; -/// // Request an ad without any additional targeting information. -/// [adView loadRequest:[GADRequest request]]; -/// </pre> -@interface GADBannerView : UIView - -#pragma mark Initialization - -/// Initializes and returns a banner view with the specified ad size and origin relative to the -/// banner's superview. -- (instancetype)initWithAdSize:(GADAdSize)adSize origin:(CGPoint)origin; - -/// Initializes and returns a banner view with the specified ad size placed at its superview's -/// origin. -- (instancetype)initWithAdSize:(GADAdSize)adSize; - -#pragma mark Pre-Request - -/// Required value created on the AdMob website. Create a new ad unit for every unique placement of -/// an ad in your application. Set this to the ID assigned for this placement. Ad units are -/// important for targeting and statistics. -/// -/// Example AdMob ad unit ID: @"ca-app-pub-0123456789012345/0123456789" -@property(nonatomic, copy, GAD_NULLABLE) IBInspectable NSString *adUnitID; - -/// Required reference to the current root view controller. For example the root view controller in -/// tab-based application would be the UITabViewController. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIViewController *rootViewController; - -/// Required to set this banner view to a proper size. Never create your own GADAdSize directly. Use -/// one of the predefined standard ad sizes (such as kGADAdSizeBanner), or create one using the -/// GADAdSizeFromCGSize method. If not using mediation, then changing the adSize after an ad has -/// been shown will cause a new request (for an ad of the new size) to be sent. If using mediation, -/// then a new request may not be sent. -@property(nonatomic, assign) GADAdSize adSize; - -/// Optional delegate object that receives state change notifications from this GADBannerView. -/// Typically this is a UIViewController. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADBannerViewDelegate> delegate; - -/// Optional delegate that is notified when creatives cause the banner to change size. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADAdSizeDelegate> adSizeDelegate; - -#pragma mark Making an Ad Request - -/// Makes an ad request. The request object supplies targeting information. -- (void)loadRequest:(GADRequest *GAD_NULLABLE_TYPE)request; - -/// A Boolean value that determines whether autoloading of ads in the receiver is enabled. If -/// enabled, you do not need to call the loadRequest: method to load ads. -@property(nonatomic, assign, getter=isAutoloadEnabled) IBInspectable BOOL autoloadEnabled; - -#pragma mark Mediation - -/// The ad network class name that fetched the current ad. Returns nil while the latest ad request -/// is in progress or if the latest ad request failed. For both standard and mediated Google AdMob -/// ads, this property returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation custom -/// events, this property returns @"GADMAdapterCustomEvents". -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adNetworkClassName; - -#pragma mark Deprecated - -/// Indicates if the currently displayed ad (or most recent failure) was a result of auto refreshing -/// as specified on server. This property is set to NO after each loadRequest: method. -@property(nonatomic, readonly, assign) BOOL hasAutoRefreshed GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated delegate. GADInAppPurchase has been deprecated. -@property(nonatomic, weak, GAD_NULLABLE) - IBOutlet id<GADInAppPurchaseDelegate> inAppPurchaseDelegate GAD_DEPRECATED_ATTRIBUTE; - -/// The mediated ad network's underlying ad view. You may use this property to read the ad's actual -/// size and adjust this banner view's frame origin. However, modifying the banner view's frame size -/// triggers the Mobile Ads SDK to request a new ad. Only update the banner view's frame origin. -@property(nonatomic, readonly, weak, GAD_NULLABLE) - UIView *mediatedAdView GAD_DEPRECATED_MSG_ATTRIBUTE("Use adNetworkClassName."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerViewDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerViewDelegate.h deleted file mode 100644 index 991fc32efe..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADBannerViewDelegate.h +++ /dev/null @@ -1,53 +0,0 @@ -// -// GADBannerViewDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADBannerView; - -GAD_ASSUME_NONNULL_BEGIN - -/// Delegate methods for receiving GADBannerView state change messages such as ad request status -/// and ad click lifecycle. -@protocol GADBannerViewDelegate<NSObject> - -@optional - -#pragma mark Ad Request Lifecycle Notifications - -/// Tells the delegate that an ad request successfully received an ad. The delegate may want to add -/// the banner view to the view hierarchy if it hasn't been added yet. -- (void)adViewDidReceiveAd:(GADBannerView *)bannerView; - -/// Tells the delegate that an ad request failed. The failure is normally due to network -/// connectivity or ad availablility (i.e., no fill). -- (void)adView:(GADBannerView *)bannerView didFailToReceiveAdWithError:(GADRequestError *)error; - -#pragma mark Click-Time Lifecycle Notifications - -/// Tells the delegate that a full screen view will be presented in response to the user clicking on -/// an ad. The delegate may want to pause animations and time sensitive interactions. -- (void)adViewWillPresentScreen:(GADBannerView *)bannerView; - -/// Tells the delegate that the full screen view will be dismissed. -- (void)adViewWillDismissScreen:(GADBannerView *)bannerView; - -/// Tells the delegate that the full screen view has been dismissed. The delegate should restart -/// anything paused while handling adViewWillPresentScreen:. -- (void)adViewDidDismissScreen:(GADBannerView *)bannerView; - -/// Tells the delegate that the user click will open another app, backgrounding the current -/// application. The standard UIApplicationDelegate methods, like applicationDidEnterBackground:, -/// are called immediately before this method is called. -- (void)adViewWillLeaveApplication:(GADBannerView *)bannerView; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelator.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelator.h deleted file mode 100644 index 909f0f4cf2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelator.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// GADCorrelator.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Represents a correlation between multiple ads. Set an instance of this object on multiple ads to -/// indicate they are being used in a common context. -@interface GADCorrelator : NSObject - -/// Resets the correlator to force a new set of correlated ads. -- (void)reset; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelatorAdLoaderOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelatorAdLoaderOptions.h deleted file mode 100644 index b10d607574..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCorrelatorAdLoaderOptions.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// GADCorrelatorAdLoaderOptions.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GADCorrelator.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Ad loader options for adding a correlator to a native ad request. -@interface GADCorrelatorAdLoaderOptions : GADAdLoaderOptions - -/// Correlator object for correlating ads loaded by an ad loader to other ad objects. -@property(nonatomic, strong, GAD_NULLABLE) GADCorrelator *correlator; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBanner.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBanner.h deleted file mode 100644 index 53317d9091..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBanner.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// GADCustomEventBanner.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GADCustomEventBannerDelegate.h> -#import <GoogleMobileAds/GADCustomEventRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The banner custom event protocol. Your banner custom event handler must implement this protocol. -@protocol GADCustomEventBanner<NSObject> - -/// Inform |delegate| with the custom event execution results to ensure mediation behaves correctly. -/// -/// In your class, define the -delegate and -setDelegate: methods or use "@synthesize delegate". The -/// Google Mobile Ads SDK sets this property on instances of your class. -@property(nonatomic, weak, GAD_NULLABLE) id<GADCustomEventBannerDelegate> delegate; - -/// Called by mediation when your custom event is scheduled to be executed. Report execution results -/// to the delegate. -/// -/// @param adSize The size of the ad as configured in the mediation UI for the mediation placement. -/// @param serverParameter Parameter configured in the mediation UI. -/// @param serverLabel Label configured in the mediation UI. -/// @param request Contains ad request information. -- (void)requestBannerAd:(GADAdSize)adSize - parameter:(NSString *GAD_NULLABLE_TYPE)serverParameter - label:(NSString *GAD_NULLABLE_TYPE)serverLabel - request:(GADCustomEventRequest *)request; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBannerDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBannerDelegate.h deleted file mode 100644 index 8ec685c5c2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventBannerDelegate.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// GADCustomEventBannerDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADCustomEventBanner; - -/// Call back to this delegate in your custom event. You must call customEventBanner:didReceiveAd: -/// when there is an ad to show, or customEventBanner:didFailAd: when there is no ad to show. -/// Otherwise, if enough time passed (several seconds) after the SDK called the requestBannerAd: -/// method of your custom event, the mediation SDK will consider the request timed out, and move on -/// to the next ad network. -@protocol GADCustomEventBannerDelegate<NSObject> - -/// Your Custom Event object must call this when it receives or creates an ad view. -- (void)customEventBanner:(id<GADCustomEventBanner>)customEvent didReceiveAd:(UIView *)view; - -/// Your Custom Event object must call this when it fails to receive or create the ad view. Pass -/// along any error object sent from the ad network's SDK, or an NSError describing the error. Pass -/// nil if not available. -- (void)customEventBanner:(id<GADCustomEventBanner>)customEvent - didFailAd:(NSError *GAD_NULLABLE_TYPE)error; - -/// Your Custom Event object should call this when the user touches or "clicks" the ad to initiate -/// an action. When the SDK receives this callback, it reports the click back to the mediation -/// server. -- (void)customEventBannerWasClicked:(id<GADCustomEventBanner>)customEvent; - -/// The rootViewController that you set in GADBannerView. Use this UIViewController to show a modal -/// view when a user taps on the ad. -@property(nonatomic, readonly) UIViewController *viewControllerForPresentingModalView; - -/// When you call the following methods, the call will be propagated back to the -/// GADBannerViewDelegate that you implemented and passed to GADBannerView. - -/// Your Custom Event should call this when the user taps an ad and a modal view appears. -- (void)customEventBannerWillPresentModal:(id<GADCustomEventBanner>)customEvent; - -/// Your Custom Event should call this when the user dismisses the modal view and the modal view is -/// about to go away. -- (void)customEventBannerWillDismissModal:(id<GADCustomEventBanner>)customEvent; - -/// Your Custom Event should call this when the user dismisses the modal view and the modal view has -/// gone away. -- (void)customEventBannerDidDismissModal:(id<GADCustomEventBanner>)customEvent; - -/// Your Custom Event should call this method when a user action will result in App switching. -- (void)customEventBannerWillLeaveApplication:(id<GADCustomEventBanner>)customEvent; - -#pragma mark Deprecated - -/// Deprecated. Use customEventBannerWasClicked:. -- (void)customEventBanner:(id<GADCustomEventBanner>)customEvent - clickDidOccurInAd:(UIView *)view - GAD_DEPRECATED_MSG_ATTRIBUTE("Use customEventBannerWasClicked:."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventExtras.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventExtras.h deleted file mode 100644 index a42a35cc1d..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventExtras.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// GADCustomEventExtras.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAdNetworkExtras.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Create an instance of this class to set additional parameters for each custom event object. The -/// additional parameters for a custom event are keyed by the custom event label. These extras are -/// passed to your implementation of GADCustomEventBanner or GADCustomEventInterstitial. -@interface GADCustomEventExtras : NSObject<GADAdNetworkExtras> - -/// Set additional parameters for the custom event with label |label|. To remove additional -/// parameters associated with |label|, pass in nil for |extras|. -- (void)setExtras:(NSDictionary *GAD_NULLABLE_TYPE)extras forLabel:(NSString *)label; - -/// Retrieve the extras for |label|. -- (NSDictionary *GAD_NULLABLE_TYPE)extrasForLabel:(NSString *)label; - -/// Removes all the extras set on this instance. -- (void)removeAllExtras; - -/// Returns all the extras set on this instance. -- (NSDictionary *)allExtras; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitial.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitial.h deleted file mode 100644 index 7a05e3bd6f..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitial.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// GADCustomEventInterstitial.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADCustomEventInterstitialDelegate.h> -#import <GoogleMobileAds/GADCustomEventRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The interstitial custom event protocol. Your interstitial custom event handler must implement -/// this protocol. -@protocol GADCustomEventInterstitial<NSObject> - -/// Inform |delegate| with the custom event execution results to ensure mediation behaves correctly. -/// -/// In your class, define the -delegate and -setDelegate: methods or use "@synthesize delegate". The -/// Google Mobile Ads SDK sets this property on instances of your class. -@property(nonatomic, weak, GAD_NULLABLE) id<GADCustomEventInterstitialDelegate> delegate; - -/// Called by mediation when your custom event is scheduled to be executed. Your implementation -/// should start retrieving the interstitial ad. Report execution results to the delegate. You must -/// wait until -presentFromRootViewController is called before displaying the interstitial ad. -/// -/// @param serverParameter Parameter configured in the mediation UI. -/// @param serverLabel Label configured in the mediation UI. -/// @param request Contains ad request information. -- (void)requestInterstitialAdWithParameter:(NSString *GAD_NULLABLE_TYPE)serverParameter - label:(NSString *GAD_NULLABLE_TYPE)serverLabel - request:(GADCustomEventRequest *)request; - -/// Present the interstitial ad as a modal view using the provided view controller. Called only -/// after your class calls -customEventInterstitialDidReceiveAd: on its custom event delegate. -- (void)presentFromRootViewController:(UIViewController *)rootViewController; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitialDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitialDelegate.h deleted file mode 100644 index 97219d3e5d..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventInterstitialDelegate.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// GADCustomEventInterstitialDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADCustomEventInterstitial; - -/// Call back to this delegate in your custom event. You must call -/// customEventInterstitialDidReceiveAd: when there is an ad to show, or -/// customEventInterstitial:didFailAd: when there is no ad to show. Otherwise, if enough time passed -/// (several seconds) after the SDK called the requestInterstitialAdWithParameter: method of your -/// custom event, the mediation SDK will consider the request timed out, and move on to the next ad -/// network. -@protocol GADCustomEventInterstitialDelegate<NSObject> - -/// Your Custom Event object must call this when it receives or creates an interstitial ad. -- (void)customEventInterstitialDidReceiveAd:(id<GADCustomEventInterstitial>)customEvent; - -/// Your Custom Event object must call this when it fails to receive or create the ad. Pass along -/// any error object sent from the ad network's SDK, or an NSError describing the error. Pass nil if -/// not available. -- (void)customEventInterstitial:(id<GADCustomEventInterstitial>)customEvent - didFailAd:(NSError *GAD_NULLABLE_TYPE)error; - -/// Your Custom Event object should call this when the user touches or "clicks" the ad to initiate -/// an action. When the SDK receives this callback, it reports the click back to the mediation -/// server. -- (void)customEventInterstitialWasClicked:(id<GADCustomEventInterstitial>)customEvent; - -// When you call any of the following methods, the call will be propagated back to the -// GADInterstitialDelegate that you implemented and passed to GADInterstitial. - -/// Your Custom Event should call this when the interstitial is being displayed. -- (void)customEventInterstitialWillPresent:(id<GADCustomEventInterstitial>)customEvent; - -/// Your Custom Event should call this when the interstitial is about to be dismissed. -- (void)customEventInterstitialWillDismiss:(id<GADCustomEventInterstitial>)customEvent; - -/// Your Custom Event should call this when the interstitial has been dismissed. -- (void)customEventInterstitialDidDismiss:(id<GADCustomEventInterstitial>)customEvent; - -/// Your Custom Event should call this method when a user action will result in app switching. -- (void)customEventInterstitialWillLeaveApplication:(id<GADCustomEventInterstitial>)customEvent; - -#pragma mark Deprecated - -/// Deprecated. Use customEventInterstitialDidReceiveAd:. -- (void)customEventInterstitial:(id<GADCustomEventInterstitial>)customEvent - didReceiveAd:(NSObject *)ad - GAD_DEPRECATED_MSG_ATTRIBUTE("Use customEventInterstitialDidReceiveAd:."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAd.h deleted file mode 100644 index 9a99c7e42c..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAd.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// GADCustomEventNativeAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADCustomEventRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADCustomEventNativeAdDelegate; - -/// Native ad custom event protocol. Your native ad custom event handler class must conform to this -/// protocol. -@protocol GADCustomEventNativeAd<NSObject> - -/// Called when the custom event is scheduled to be executed. -/// -/// @param serverParameter A value configured in the mediation UI for the custom event. -/// @param request Ad targeting information. -/// @param adTypes List of requested native ad types. See GADAdLoaderAdTypes.h for available ad -/// types. -/// @param options Additional options configured by the publisher for requesting a native ad. See -/// GADNativeAdImageAdLoaderOptions.h for available image options. -/// @param rootViewController Publisher-provided view controller. -- (void)requestNativeAdWithParameter:(NSString *)serverParameter - request:(GADCustomEventRequest *)request - adTypes:(NSArray *)adTypes - options:(NSArray *)options - rootViewController:(UIViewController *)rootViewController; - -/// Indicates if the custom event handles user clicks. Return YES if the custom event should handle -/// user clicks. In this case, the Google Mobile Ads SDK doesn't track user clicks and the custom -/// event must notify the Google Mobile Ads SDK of clicks using -/// +[GADMediatedNativeAdNotificationSource mediatedNativeAdDidRecordClick:]. Return NO if the -/// custom event doesn't handles user clicks. In this case, the Google Mobile Ads SDK tracks user -/// clicks itself and the custom event is notified of user clicks via -[GADMediatedNativeAdDelegate -/// mediatedNativeAd:didRecordClickOnAssetWithName:view:viewController:]. -- (BOOL)handlesUserClicks; - -/// Indicates if the custom event handles user impressions tracking. If this method returns YES, the -/// Google Mobile Ads SDK will not track user impressions and the custom event must notify the -/// Google Mobile Ads SDK of impressions using +[GADMediatedNativeAdNotificationSource -/// mediatedNativeAdDidRecordImpression:]. If this method returns NO, -/// the Google Mobile Ads SDK tracks user impressions and notifies the custom event of impressions -/// using -[GADMediatedNativeAdDelegate mediatedNativeAdDidRecordImpression:]. -- (BOOL)handlesUserImpressions; - -/// Delegate object used for receiving custom native ad load request progress. -@property(nonatomic, weak, GAD_NULLABLE) id<GADCustomEventNativeAdDelegate> delegate; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAdDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAdDelegate.h deleted file mode 100644 index 4a94602501..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventNativeAdDelegate.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// GADCustomEventNativeAdDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADCustomEventNativeAd.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h> -#import <GoogleMobileAds/Mediation/GADMediatedUnifiedNativeAd.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The delegate of the GADCustomEventNativeAd object must adopt the GADCustomEventNativeAdDelegate -/// protocol. Methods in this protocol are used for native ad's custom event communication with the -/// Google Mobile Ads SDK. -@protocol GADCustomEventNativeAdDelegate<NSObject> - -/// Tells the delegate that the custom event ad request succeeded and loaded a native ad. -- (void)customEventNativeAd:(id<GADCustomEventNativeAd>)customEventNativeAd - didReceiveMediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Tells the delegate that the custom event ad request failed. -- (void)customEventNativeAd:(id<GADCustomEventNativeAd>)customEventNativeAd - didFailToLoadWithError:(NSError *)error; - -/// Tells the delegate that the custom event ad request succeeded and loaded a unified native ad. -- (void)customEventNativeAd:(id<GADCustomEventNativeAd>)customEventNativeAd - didReceiveMediatedUnifiedNativeAd:(id<GADMediatedUnifiedNativeAd>)mediatedUnifiedNativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventParameters.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventParameters.h deleted file mode 100644 index 5a6041e77e..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventParameters.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// GADCustomEventParameters.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Key for getting the server parameter configured in AdMob when mediating to a custom event -/// adapter. -/// Example: NSString *serverParameter = connector.credentials[GADCustomEventParametersServer]. -GAD_EXTERN NSString *const GADCustomEventParametersServer; - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventRequest.h deleted file mode 100644 index e702a3d4f2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADCustomEventRequest.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// GADCustomEventRequest.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADCustomEventExtras; - -GAD_ASSUME_NONNULL_BEGIN - -/// Specifies optional ad request targeting parameters that are provided by the publisher and are -/// forwarded to custom events for purposes of populating an ad request to a 3rd party ad network. -@interface GADCustomEventRequest : NSObject - -/// If the user's latitude, longitude, and accuracy are not specified, userHasLocation returns NO, -/// and userLatitude, userLongitude, and userLocationAccuracyInMeters return 0. -@property(nonatomic, readonly, assign) BOOL userHasLocation; - -/// User's latitude set in GADRequest. -@property(nonatomic, readonly, assign) CGFloat userLatitude; - -/// User's longitude set in GADRequest. -@property(nonatomic, readonly, assign) CGFloat userLongitude; - -/// The accuracy, in meters, of the user's location data. -@property(nonatomic, readonly, assign) CGFloat userLocationAccuracyInMeters; - -/// Description of the user's location, in free form text, set in GADRequest. If not available, -/// returns nil. This may be set even if userHasLocation is NO. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *userLocationDescription; - -/// Keywords set in GADRequest. Returns nil if no keywords are set. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSArray *userKeywords; - -/// The additional parameters set by the application. This property allows you to pass additional -/// information from your application to your Custom Event object. To do so, create an instance of -/// GADCustomEventExtras to pass to GADRequest -registerAdNetworkExtras:. The instance should have -/// an NSDictionary set for a particular custom event label. That NSDictionary becomes the -/// additionalParameters here. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSDictionary *additionalParameters; - -/// Indicates if the testing property has been set in GADRequest. -@property(nonatomic, readonly, assign) BOOL isTesting; - -#pragma mark Deprecated methods - -/// Deprecated. User's gender set in GADRequest. If not specified, returns kGADGenderUnknown. -@property(nonatomic, readonly, assign) GADGender userGender GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated. User's birthday set in GADRequest. If not specified, returns nil. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSDate *userBirthday GAD_DEPRECATED_ATTRIBUTE; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDebugOptionsViewController.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDebugOptionsViewController.h deleted file mode 100644 index acc98dc3fb..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDebugOptionsViewController.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// GADDebugOptionsViewController.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADDebugOptionsViewController; - -GAD_ASSUME_NONNULL_BEGIN - -/// Delegate for the GADDebugOptionsViewController. -@protocol GADDebugOptionsViewControllerDelegate<NSObject> -/// Called when the debug options flow is finished. -- (void)debugOptionsViewControllerDidDismiss:(GADDebugOptionsViewController *)controller; -@end - -/// Displays debug options to the user. -@interface GADDebugOptionsViewController : UIViewController - -/// Creates and returns a GADDebugOptionsViewController object initialized with the ad unit ID. -/// @param adUnitID An ad unit ID for the DFP account that is being configured with debug options. -+ (instancetype)debugOptionsViewControllerWithAdUnitID:(NSString *)adUnitID; - -/// Delegate for the debug options view controller. -@property(nonatomic, weak, GAD_NULLABLE) - IBOutlet id<GADDebugOptionsViewControllerDelegate> delegate; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDynamicHeightSearchRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDynamicHeightSearchRequest.h deleted file mode 100644 index 4fefe66fd6..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADDynamicHeightSearchRequest.h +++ /dev/null @@ -1,165 +0,0 @@ -// -// GADDynamicHeightSearchRequest.h -// GoogleMobileAds -// -// Copyright © 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Use to configure Custom Search Ad (CSA) ad requests. A dynamic height search banner can contain -/// multiple ads and the height is set dynamically based on the ad contents. Please cross-reference -/// the property sections and properties with the official reference document: -/// https://developers.google.com/custom-search-ads/docs/reference -@interface GADDynamicHeightSearchRequest : GADRequest - -#pragma mark - Page Level Parameters - -#pragma mark Required - -/// The CSA "query" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *query; - -/// The CSA "adPage" parameter. -@property(nonatomic, assign) NSInteger adPage; - -#pragma mark Configuration Settings - -/// Indicates if the CSA "adTest" parameter is enabled. -@property(nonatomic, assign) BOOL adTestEnabled; - -/// The CSA "channel" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *channel; - -/// The CSA "hl" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *hostLanguage; - -#pragma mark Layout and Styling - -/// The CSA "colorLocation" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *locationExtensionTextColor; - -/// The CSA "fontSizeLocation" parameter. -@property(nonatomic, assign) CGFloat locationExtensionFontSize; - -#pragma mark Ad Extensions - -/// Indicates if the CSA "clickToCall" parameter is enabled. -@property(nonatomic, assign) BOOL clickToCallExtensionEnabled; - -/// Indicates if the CSA "location" parameter is enabled. -@property(nonatomic, assign) BOOL locationExtensionEnabled; - -/// Indicates if the CSA "plusOnes" parameter is enabled. -@property(nonatomic, assign) BOOL plusOnesExtensionEnabled; - -/// Indicates if the CSA "sellerRatings" parameter is enabled. -@property(nonatomic, assign) BOOL sellerRatingsExtensionEnabled; - -/// Indicates if the CSA "siteLinks" parameter is enabled. -@property(nonatomic, assign) BOOL siteLinksExtensionEnabled; - -#pragma mark - Unit Level Parameters - -#pragma mark Required - -/// The CSA "width" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *CSSWidth; - -/// Configuration Settings - -/// The CSA "number" parameter. -@property(nonatomic, assign) NSInteger numberOfAds; - -#pragma mark Font - -/// The CSA "fontFamily" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *fontFamily; - -/// The CSA "fontFamilyAttribution" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *attributionFontFamily; - -/// The CSA "fontSizeAnnotation" parameter. -@property(nonatomic, assign) CGFloat annotationFontSize; - -/// The CSA "fontSizeAttribution" parameter. -@property(nonatomic, assign) CGFloat attributionFontSize; - -/// The CSA "fontSizeDescription" parameter. -@property(nonatomic, assign) CGFloat descriptionFontSize; - -/// The CSA "fontSizeDomainLink" parameter. -@property(nonatomic, assign) CGFloat domainLinkFontSize; - -/// The CSA "fontSizeTitle" parameter. -@property(nonatomic, assign) CGFloat titleFontSize; - -#pragma mark Color - -/// The CSA "colorAdBorder" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *adBorderColor; - -/// The CSA "colorAdSeparator" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *adSeparatorColor; - -/// The CSA "colorAnnotation" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *annotationTextColor; - -/// The CSA "colorAttribution" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *attributionTextColor; - -/// The CSA "colorBackground" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *backgroundColor; - -/// The CSA "colorBorder" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *borderColor; - -/// The CSA "colorDomainLink" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *domainLinkColor; - -/// The CSA "colorText" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *textColor; - -/// The CSA "colorTitleLink" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *titleLinkColor; - -#pragma mark General Formatting - -/// The CSA "adBorderSelections" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *adBorderCSSSelections; - -/// The CSA "adjustableLineHeight" parameter. -@property(nonatomic, assign) CGFloat adjustableLineHeight; - -/// The CSA "attributionSpacingBelow" parameter. -@property(nonatomic, assign) CGFloat attributionBottomSpacing; - -/// The CSA "borderSelections" parameter. -@property(nonatomic, copy, GAD_NULLABLE) NSString *borderCSSSelections; - -/// Indicates if the CSA "noTitleUnderline" parameter is enabled. -@property(nonatomic, assign) BOOL titleUnderlineHidden; - -/// Indicates if the CSA "titleBold" parameter is enabled. -@property(nonatomic, assign) BOOL boldTitleEnabled; - -/// The CSA "verticalSpacing" parameter. -@property(nonatomic, assign) CGFloat verticalSpacing; - -#pragma mark Ad Extensions - -/// Indicates if the CSA "detailedAttribution" parameter is enabled. -@property(nonatomic, assign) BOOL detailedAttributionExtensionEnabled; - -/// Indicates if the CSA "longerHeadlines" parameter is enabled. -@property(nonatomic, assign) BOOL longerHeadlinesExtensionEnabled; - -/// Sets an advanced option value for a specified key. The value must be an NSString or NSNumber. -- (void)setAdvancedOptionValue:(id)value forKey:(NSString *)key; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADExtras.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADExtras.h deleted file mode 100644 index 3ca160fa0f..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADExtras.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// GADExtras.h -// Google Mobile Ads SDK -// -// Copyright 2012 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAdNetworkExtras.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Ad network extras sent to Google networks. -@interface GADExtras : NSObject<GADAdNetworkExtras> - -/// Additional parameters to be sent to Google networks. -@property(nonatomic, copy, GAD_NULLABLE) NSDictionary *additionalParameters; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchase.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchase.h deleted file mode 100644 index 979c307200..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchase.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// GADInAppPurchase.h -// Google Mobile Ads SDK -// -// Copyright 2013 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <StoreKit/StoreKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADDefaultInAppPurchaseDelegate; - -#pragma mark - Default Purchase Flow - -/// The consumable in-app purchase item that has been purchased by the user. The purchase flow is -/// handled by the Google Mobile Ads SDK. -/// Instances of this class are created and passed to your in-app purchase delegate after the user -/// has successfully paid for a product. Your code must correctly deliver the product to the user -/// and then call the didCompletePurchase method to finish the transaction. - -GAD_DEPRECATED_ATTRIBUTE -@interface GADDefaultInAppPurchase : NSObject - -/// Enables the default consumable product in-app purchase flow handled by the Google Mobile Ads -/// SDK. The GADDefaultInAppPurchaseDelegate object is retained while the default purchase flow is -/// enabled. This method adds a SKPaymentTransactionObserver to the default SKPaymentQueue. -/// -/// Call this method early in your application to handle unfinished transactions from previous -/// application sessions. For example, call this method in your application delegate's -/// application:didFinishLaunchingWithOptions: method. -+ (void)enableDefaultPurchaseFlowWithDelegate:(id<GADDefaultInAppPurchaseDelegate>)delegate; - -/// Disables the default in-app purchase flow handled by the Google Mobile Ads SDK and releases the -/// associated GADDefaultInAppPurchaseDelegate object. -+ (void)disableDefaultPurchaseFlow; - -/// The in-app purchase product ID. -@property(nonatomic, readonly, copy) NSString *productID; - -/// The product quantity. -@property(nonatomic, readonly, assign) NSInteger quantity; - -/// The purchased item's completed payment transaction. Your application can use this property's -/// data to save a permanent record of the completed payment. The default purchase flow will finish -/// the transaction on your behalf. Do not finish the transaction yourself. -@property(nonatomic, readonly, strong) SKPaymentTransaction *paymentTransaction; - -/// The in-app purchase delegate object must first deliver the user's item and then call this -/// method. Failure to call this method will result in duplicate purchase notifications. -- (void)finishTransaction; - -@end - -#pragma mark - Custom Purchase Flow - -/// Enum of the different statuses resulting from processing a purchase. -GAD_DEPRECATED_ATTRIBUTE -typedef NS_ENUM(NSInteger, GADInAppPurchaseStatus) { - kGADInAppPurchaseStatusError = 0, ///< Error occured while processing the purchase. - kGADInAppPurchaseStatusSuccessful = 1, ///< Purchase was completed successfully. - kGADInAppPurchaseStatusCancel = 2, ///< Purchase was cancelled by the user. - kGADInAppPurchaseStatusInvalidProduct = 3 ///< Error occured while looking up the product. -}; - -/// The in-app purchase item to be purchased with the purchase flow handled by you, the -/// application developer. -/// Instances of this class are created and passed to your GADInAppPurchaseDelegate object when -/// users click a buy button. It is important to report the result of the purchase back to the SDK -/// in order to track metrics about the transaction. -GAD_DEPRECATED_ATTRIBUTE -@interface GADInAppPurchase : NSObject - -/// The in-app purchase product ID. -@property(nonatomic, readonly, copy) NSString *productID; - -/// The product quantity. -@property(nonatomic, readonly, assign) NSInteger quantity; - -/// The GADInAppPurchaseDelegate object must call this method after handling the in-app purchase for -/// both successful and unsuccessful purchase attempts. This method reports ad conversion and -/// purchase status information to Google. -- (void)reportPurchaseStatus:(GADInAppPurchaseStatus)purchaseStatus; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchaseDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchaseDelegate.h deleted file mode 100644 index b7e09a7648..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInAppPurchaseDelegate.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// GADInAppPurchaseDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2013 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADDefaultInAppPurchase; -@class GADInAppPurchase; - -GAD_ASSUME_NONNULL_BEGIN - -#pragma mark - Default Purchase Flow - -/// In-app purchase delegate protocol for default purchase handling. The delegate must deliver -/// the purchased item then call the GADDefaultInAppPurchase object's finishTransaction method. -GAD_DEPRECATED_ATTRIBUTE -@protocol GADDefaultInAppPurchaseDelegate<NSObject> - -/// Called when the user successfully paid for a purchase. You must first deliver the purchased -/// item to the user, then call defaultInAppPurchase's finishTransaction method. -- (void)userDidPayForPurchase:(GADDefaultInAppPurchase *)defaultInAppPurchase; - -@optional - -/// Called when the user clicks on the buy button of an in-app purchase ad. Return YES if the -/// default purchase flow should be started to purchase the item, otherwise return NO. If not -/// implemented, defaults to YES. -- (BOOL)shouldStartPurchaseForProductID:(NSString *)productID quantity:(NSInteger)quantity; - -@end - -#pragma mark - Custom Purchase Flow - -/// In-app purchase delegate protocol for custom purchase handling. The delegate must handle the -/// product purchase flow then call the GADInAppPurchase object's reportPurchaseStatus: method. -GAD_DEPRECATED_ATTRIBUTE -@protocol GADInAppPurchaseDelegate<NSObject> - -/// Called when the user clicks on the buy button of an in-app purchase ad. After the receiver -/// handles the purchase, it must call the GADInAppPurchase object's reportPurchaseStatus: method. -- (void)didReceiveInAppPurchase:(GADInAppPurchase *)purchase; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitial.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitial.h deleted file mode 100644 index c0d0e02a53..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitial.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// GADInterstitial.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADInAppPurchaseDelegate.h> -#import <GoogleMobileAds/GADInterstitialDelegate.h> -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// An interstitial ad. This is a full-screen advertisement shown at natural transition points in -/// your application such as between game levels or news stories. -@interface GADInterstitial : NSObject - -/// Initializes an interstitial with an ad unit created on the AdMob website. Create a new ad unit -/// for every unique placement of an ad in your application. Set this to the ID assigned for this -/// placement. Ad units are important for targeting and statistics. -/// -/// Example AdMob ad unit ID: @"ca-app-pub-0123456789012345/0123456789" -- (instancetype)initWithAdUnitID:(NSString *)adUnitID NS_DESIGNATED_INITIALIZER; - -#pragma mark Pre-Request - -/// Required value passed in with initWithAdUnitID:. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adUnitID; - -/// Optional delegate object that receives state change notifications from this GADInterstitalAd. -@property(nonatomic, weak, GAD_NULLABLE) id<GADInterstitialDelegate> delegate; - -#pragma mark Making an Ad Request - -/// Makes an interstitial ad request. Additional targeting options can be supplied with a request -/// object. Only one interstitial request is allowed at a time. -/// -/// This is best to do several seconds before the interstitial is needed to preload its content. -/// Then when transitioning between view controllers show the interstital with -/// presentFromViewController. -- (void)loadRequest:(GADRequest *GAD_NULLABLE_TYPE)request; - -#pragma mark Post-Request - -/// Returns YES if the interstitial is ready to be displayed. The delegate's -/// interstitialAdDidReceiveAd: will be called after this property switches from NO to YES. -@property(nonatomic, readonly, assign) BOOL isReady; - -/// Returns YES if this object has already been presented. Interstitial objects can only be used -/// once even with different requests. -@property(nonatomic, readonly, assign) BOOL hasBeenUsed; - -/// Returns the ad network class name that fetched the current ad. Returns nil while the latest ad -/// request is in progress or if the latest ad request failed. For both standard and mediated Google -/// AdMob ads, this property returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation -/// custom events, this property returns @"GADMAdapterCustomEvents". -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adNetworkClassName; - -/// Presents the interstitial ad which takes over the entire screen until the user dismisses it. -/// This has no effect unless isReady returns YES and/or the delegate's interstitialDidReceiveAd: -/// has been received. -/// -/// Set rootViewController to the current view controller at the time this method is called. If your -/// application does not use view controllers pass in nil and your views will be removed from the -/// window to show the interstitial and restored when done. After the interstitial has been removed, -/// the delegate's interstitialDidDismissScreen: will be called. -- (void)presentFromRootViewController:(UIViewController *)rootViewController; - -#pragma mark Deprecated - -/// Deprecated delegate. GADInAppPurchase has been deprecated. -@property(nonatomic, weak, GAD_NULLABLE) - id<GADInAppPurchaseDelegate> inAppPurchaseDelegate GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated intializer. Use initWithAdUnitID: instead. -- (instancetype)init GAD_DEPRECATED_MSG_ATTRIBUTE("Use initWithAdUnitID:."); - -/// Deprecated setter, use initWithAdUnitID: instead. -- (void)setAdUnitID:(NSString *GAD_NULLABLE_TYPE)adUnitID - GAD_DEPRECATED_MSG_ATTRIBUTE("Use initWithAdUnitID: instead of setting the ad unit ID."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitialDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitialDelegate.h deleted file mode 100644 index 4fbff88581..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADInterstitialDelegate.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// GADInterstitialDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADInterstitial; - -GAD_ASSUME_NONNULL_BEGIN - -/// Delegate for receiving state change messages from a GADInterstitial such as interstitial ad -/// requests succeeding/failing. -@protocol GADInterstitialDelegate<NSObject> - -@optional - -#pragma mark Ad Request Lifecycle Notifications - -/// Called when an interstitial ad request succeeded. Show it at the next transition point in your -/// application such as when transitioning between view controllers. -- (void)interstitialDidReceiveAd:(GADInterstitial *)ad; - -/// Called when an interstitial ad request completed without an interstitial to -/// show. This is common since interstitials are shown sparingly to users. -- (void)interstitial:(GADInterstitial *)ad didFailToReceiveAdWithError:(GADRequestError *)error; - -#pragma mark Display-Time Lifecycle Notifications - -/// Called just before presenting an interstitial. After this method finishes the interstitial will -/// animate onto the screen. Use this opportunity to stop animations and save the state of your -/// application in case the user leaves while the interstitial is on screen (e.g. to visit the App -/// Store from a link on the interstitial). -- (void)interstitialWillPresentScreen:(GADInterstitial *)ad; - -/// Called when |ad| fails to present. -- (void)interstitialDidFailToPresentScreen:(GADInterstitial *)ad; - -/// Called before the interstitial is to be animated off the screen. -- (void)interstitialWillDismissScreen:(GADInterstitial *)ad; - -/// Called just after dismissing an interstitial and it has animated off the screen. -- (void)interstitialDidDismissScreen:(GADInterstitial *)ad; - -/// Called just before the application will background or terminate because the user clicked on an -/// ad that will launch another application (such as the App Store). The normal -/// UIApplicationDelegate methods, like applicationDidEnterBackground:, will be called immediately -/// before this. -- (void)interstitialWillLeaveApplication:(GADInterstitial *)ad; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMediaView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMediaView.h deleted file mode 100644 index 11f7d10598..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMediaView.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// GADMediaView.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Displays native ad media assets. -/// -/// To display media assets in GADNativeAppInstallAdView instances, add a GADMediaView subview and -/// assign the native ad view's mediaView property. -/// -/// If the native ad doesn't contain a video and image loading is enabled, the GADMediaView displays -/// the native ad's |images| asset's first image. -/// -/// If the native ad doesn't contain a video and image loading is disabled, the GADMediaView object -/// is empty. -@interface GADMediaView : UIView - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMobileAds.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMobileAds.h deleted file mode 100644 index 80e29e559b..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMobileAds.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// GADMobileAds.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAudioVideoManager.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Google Mobile Ads SDK settings. -@interface GADMobileAds : NSObject - -/// Returns the shared GADMobileAds instance. -+ (GADMobileAds *)sharedInstance; - -/// Configures the SDK using the settings associated with the given application ID. -+ (void)configureWithApplicationID:(NSString *)applicationID; - -/// Disables automated in app purchase (IAP) reporting. Must be called before any IAP transaction is -/// initiated. IAP reporting is used to track IAP ad conversions. Do not disable reporting if you -/// use IAP ads. -+ (void)disableAutomatedInAppPurchaseReporting; - -/// Disables automated SDK crash reporting. If not called, the SDK records the original exception -/// handler if available and registers a new exception handler. The new exception handler only -/// reports SDK related exceptions and calls the recorded original exception handler. -+ (void)disableSDKCrashReporting; - -/// The application's audio volume. Affects audio volumes of all ads relative to other audio output. -/// Valid ad volume values range from 0.0 (silent) to 1.0 (current device volume). Use this method -/// only if your application has its own volume controls (e.g., custom music or sound effect -/// volumes). Defaults to 1.0. -@property(nonatomic, assign) float applicationVolume; - -/// Indicates if the application's audio is muted. Affects initial mute state for all ads. Use this -/// method only if your application has its own volume controls (e.g., custom music or sound effect -/// muting). Defaults to NO. -@property(nonatomic, assign) BOOL applicationMuted; - -/// Manages the Google Mobile Ads SDK's audio and video settings. -@property(nonatomic, readonly, strong) GADAudioVideoManager *audioVideoManager; - -/// Returns YES if the current SDK version is at least |major|.|minor|.|patch|. This method can be -/// used by libraries that depend on a specific minimum version of the Google Mobile Ads SDK to warn -/// developers if they have an incompatible version. -/// -/// Available in Google Mobile Ads SDK 7.10 and onwards. Before calling this method check if the -/// GADMobileAds's shared instance responds to this method. Calling this method on a Google Mobile -/// Ads SDK lower than 7.10 can crash the app. -- (BOOL)isSDKVersionAtLeastMajor:(NSInteger)major minor:(NSInteger)minor patch:(NSInteger)patch; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMultipleAdsAdLoaderOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMultipleAdsAdLoaderOptions.h deleted file mode 100644 index 81b1705a8b..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADMultipleAdsAdLoaderOptions.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// GADMultipleAdsAdLoaderOptions.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Ad loader options for requesting multiple ads. Requesting multiple ads in a single request is -/// currently only available for native app install ads and native content ads. -@interface GADMultipleAdsAdLoaderOptions : GADAdLoaderOptions - -/// Number of ads the GADAdLoader should attempt to return for the request. By default, numberOfAds -/// is one. Requests are invalid and will fail if numberOfAds is less than one. If numberOfAds -/// exceeds the maximum limit (5), only the maximum number of ads are requested. -/// -/// The ad loader makes at least one and up to numberOfAds calls to the "ad received" and -/// -didFailToReceiveAdWithError: methods found in GADAdLoaderDelegate and its extensions, followed -/// by a single call to -adLoaderDidFinishLoading: once loading is finished. -@property(nonatomic) NSInteger numberOfAds; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAd.h deleted file mode 100644 index c454404f39..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAd.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// GADNativeAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADNativeAdDelegate; - -/// Native ad base class. All native ad types are subclasses of this class. -@interface GADNativeAd : NSObject - -/// Optional delegate to receive state change notifications. -@property(nonatomic, weak, GAD_NULLABLE) id<GADNativeAdDelegate> delegate; - -/// Root view controller for handling ad actions. -@property(nonatomic, weak, GAD_NULLABLE) UIViewController *rootViewController; - -/// Dictionary of assets which aren't processed by the receiver. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSDictionary *extraAssets; - -/// The ad network class name that fetched the current ad. For both standard and mediated Google -/// AdMob ads, this method returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation -/// custom events, this method returns @"GADMAdapterCustomEvents". -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adNetworkClassName; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdDelegate.h deleted file mode 100644 index e1b3ba3e0e..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdDelegate.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// GADNativeAdDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADNativeAd; - -GAD_ASSUME_NONNULL_BEGIN - -/// Identifies native ad assets. -@protocol GADNativeAdDelegate<NSObject> - -@optional - -#pragma mark Ad Lifecycle Events - -/// Called when an impression is recorded for an ad. Only called for Google ads and is not supported -/// for mediation ads. -- (void)nativeAdDidRecordImpression:(GADNativeAd *)nativeAd; - -/// Called when a click is recorded for an ad. Only called for Google ads and is not supported for -/// mediation ads. -- (void)nativeAdDidRecordClick:(GADNativeAd *)nativeAd; - -#pragma mark Click-Time Lifecycle Notifications - -/// Called just before presenting the user a full screen view, such as a browser, in response to -/// clicking on an ad. Use this opportunity to stop animations, time sensitive interactions, etc. -/// -/// Normally the user looks at the ad, dismisses it, and control returns to your application with -/// the nativeAdDidDismissScreen: message. However, if the user hits the Home button or clicks on an -/// App Store link, your application will end. The next method called will be the -/// applicationWillResignActive: of your UIApplicationDelegate object.Immediately after that, -/// nativeAdWillLeaveApplication: is called. -- (void)nativeAdWillPresentScreen:(GADNativeAd *)nativeAd; - -/// Called just before dismissing a full screen view. -- (void)nativeAdWillDismissScreen:(GADNativeAd *)nativeAd; - -/// Called just after dismissing a full screen view. Use this opportunity to restart anything you -/// may have stopped as part of nativeAdWillPresentScreen:. -- (void)nativeAdDidDismissScreen:(GADNativeAd *)nativeAd; - -/// Called just before the application will go to the background or terminate due to an ad action -/// that will launch another application (such as the App Store). The normal UIApplicationDelegate -/// methods, like applicationDidEnterBackground:, will be called immediately before this. -- (void)nativeAdWillLeaveApplication:(GADNativeAd *)nativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage+Mediation.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage+Mediation.h deleted file mode 100644 index 971b714677..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage+Mediation.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// GADNativeAdImage+Mediation.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google. All rights reserved. -// - -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Provides additional GADNativeAdImage initializers. -@interface GADNativeAdImage (MediationAdditions) - -/// Initializes and returns a native ad image object with the provided image. -- (instancetype)initWithImage:(UIImage *)image; - -/// Initializes and returns a native ad image object with the provided image URL and image scale. -- (instancetype)initWithURL:(NSURL *)URL scale:(CGFloat)scale; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage.h deleted file mode 100644 index df4b486841..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImage.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// GADNativeAdImage.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Native ad image. -@interface GADNativeAdImage : NSObject - -/// The image. If image autoloading is disabled, this property will be nil. -@property(nonatomic, readonly, strong, GAD_NULLABLE) UIImage *image; - -/// The image's URL. -@property(nonatomic, readonly, copy) NSURL *imageURL; - -/// The image's scale. -@property(nonatomic, readonly, assign) CGFloat scale; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImageAdLoaderOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImageAdLoaderOptions.h deleted file mode 100644 index 4e4d70ba5e..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdImageAdLoaderOptions.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// GADNativeAdImageAdLoaderOptions.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Native ad image orientation preference. -typedef NS_ENUM(NSInteger, GADNativeAdImageAdLoaderOptionsOrientation) { - GADNativeAdImageAdLoaderOptionsOrientationAny = 1, ///< No orientation preference. - GADNativeAdImageAdLoaderOptionsOrientationPortrait = 2, ///< Prefer portrait images. - GADNativeAdImageAdLoaderOptionsOrientationLandscape = 3 ///< Prefer landscape images. -}; - -/// Ad loader options for native ad image settings. -@interface GADNativeAdImageAdLoaderOptions : GADAdLoaderOptions - -/// Indicates if image asset content should be loaded by the SDK. If set to YES, the SDK will not -/// load image asset content and native ad image URLs can be used to fetch content. Defaults to NO, -/// image assets are loaded by the SDK. -@property(nonatomic, assign) BOOL disableImageLoading; - -/// Indicates if multiple images should be loaded for each asset. Defaults to NO. -@property(nonatomic, assign) BOOL shouldRequestMultipleImages; - -/// Indicates preferred image orientation. Defaults to -/// GADNativeAdImageAdLoaderOptionsOrientationAny. -@property(nonatomic, assign) GADNativeAdImageAdLoaderOptionsOrientation preferredImageOrientation; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h deleted file mode 100644 index cd22062c13..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// GADNativeAdViewAdOptions.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Position of the AdChoices icon in the containing ad. -typedef NS_ENUM(NSInteger, GADAdChoicesPosition) { - GADAdChoicesPositionTopRightCorner, ///< Top right corner. - GADAdChoicesPositionTopLeftCorner, ///< Top left corner. - GADAdChoicesPositionBottomRightCorner, ///< Bottom right corner. - GADAdChoicesPositionBottomLeftCorner ///< Bottom Left Corner. -}; - -/// Ad loader options for configuring the view of native ads. -@interface GADNativeAdViewAdOptions : GADAdLoaderOptions - -/// Indicates preferred location of AdChoices icon. Default is GADAdChoicesPositionTopRightCorner. -@property(nonatomic, assign) GADAdChoicesPosition preferredAdChoicesPosition; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAd.h deleted file mode 100644 index 89cfbd981e..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAd.h +++ /dev/null @@ -1,118 +0,0 @@ -// -// GADNativeAppInstallAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdChoicesView.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADMediaView.h> -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADNativeAppInstallAdAssetIDs.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Native app install ad. To request this ad type, you need to pass -/// kGADAdLoaderAdTypeNativeAppInstall (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in -/// GADAdLoader's initializer method. If you request this ad type, your delegate must conform to the -/// GADNativeAppInstallAdLoaderDelegate protocol. -@interface GADNativeAppInstallAd : GADNativeAd - -#pragma mark - Must be displayed - -/// App title. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *headline; -/// Text that encourages user to take some action with the ad. For example "Install". -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *callToAction; -/// Application icon. -@property(nonatomic, readonly, strong, GAD_NULLABLE) GADNativeAdImage *icon; - -#pragma mark - Recommended to display - -/// App description. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *body; -/// The app store name. For example, "App Store". -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *store; -/// String representation of the app's price. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *price; -/// Array of GADNativeAdImage objects related to the advertised application. -@property(nonatomic, readonly, strong, GAD_NULLABLE) NSArray *images; -/// App store rating (0 to 5). -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSDecimalNumber *starRating; -/// Video controller for controlling video playback in GADNativeAppInstallAdView's mediaView. -@property(nonatomic, strong, readonly) GADVideoController *videoController; - -/// Registers ad view and asset views with this native ad. -/// @param assetViews Dictionary of asset views keyed by asset IDs. -- (void)registerAdView:(UIView *)adView - assetViews:(NSDictionary<GADNativeAppInstallAssetID, UIView *> *)assetViews - GAD_DEPRECATED_MSG_ATTRIBUTE("Use -registerAdView:clickableAssetViews:nonclickableAssetViews:"); - -/// Registers ad view, clickable asset views, and nonclickable asset views with this native ad. -/// Media view shouldn't be registered as clickable. -/// @param clickableAssetViews Dictionary of asset views that are clickable, keyed by asset IDs. -/// @param nonclickableAssetViews Dictionary of asset views that are not clickable, keyed by asset -/// IDs. -- (void)registerAdView:(UIView *)adView - clickableAssetViews:(NSDictionary<GADNativeAppInstallAssetID, UIView *> *)clickableAssetViews - nonclickableAssetViews: - (NSDictionary<GADNativeAppInstallAssetID, UIView *> *)nonclickableAssetViews; - -/// Unregisters ad view from this native ad. The corresponding asset views will also be -/// unregistered. -- (void)unregisterAdView; - -@end - -#pragma mark - Protocol and constants - -/// The delegate of a GADAdLoader object implements this protocol to receive GADNativeAppInstallAd -/// ads. -@protocol GADNativeAppInstallAdLoaderDelegate<GADAdLoaderDelegate> -/// Called when a native app install ad is received. -- (void)adLoader:(GADAdLoader *)adLoader - didReceiveNativeAppInstallAd:(GADNativeAppInstallAd *)nativeAppInstallAd; -@end - -#pragma mark - Native App Install Ad View - -/// Base class for app install ad views. Your app install ad view must be a subclass of this class -/// and must call superclass methods for all overriden methods. -@interface GADNativeAppInstallAdView : UIView - -/// This property must point to the native app install ad object rendered by this ad view. -@property(nonatomic, strong, GAD_NULLABLE) GADNativeAppInstallAd *nativeAppInstallAd; - -/// Weak reference to your ad view's headline asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *headlineView; -/// Weak reference to your ad view's call to action asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *callToActionView; -/// Weak reference to your ad view's icon asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *iconView; -/// Weak reference to your ad view's body asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *bodyView; -/// Weak reference to your ad view's store asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *storeView; -/// Weak reference to your ad view's price asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *priceView; -/// Weak reference to your ad view's image asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *imageView; -/// Weak reference to your ad view's star rating asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *starRatingView; -/// Weak reference to your ad view's media asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet GADMediaView *mediaView; -/// Weak reference to your ad view's AdChoices view. Must set adChoicesView before setting -/// nativeAppInstallAd, otherwise AdChoices will be rendered in the publisher's -/// preferredAdChoicesPosition as defined in GADNativeAdViewAdOptions. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet GADAdChoicesView *adChoicesView; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAdAssetIDs.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAdAssetIDs.h deleted file mode 100644 index 710f491f04..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeAppInstallAdAssetIDs.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// GADNativeAppInstallAdAssetIDs.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -typedef NSString *GADNativeAppInstallAssetID GAD_STRING_ENUM; - -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallHeadlineAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallCallToActionAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallIconAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallBodyAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallStoreAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallPriceAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallImageAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallStarRatingAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallAttributionIconAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallAttributionTextAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallMediaViewAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallAdChoicesViewAsset; -GAD_EXTERN GADNativeAppInstallAssetID const GADNativeAppInstallBackgroundAsset; - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAd.h deleted file mode 100644 index 512846c918..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAd.h +++ /dev/null @@ -1,111 +0,0 @@ -// -// GADNativeContentAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdChoicesView.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADMediaView.h> -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADNativeContentAdAssetIDs.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -#pragma mark - Native Content Ad Assets - -/// Native content ad. To request this ad type, you need to pass kGADAdLoaderAdTypeNativeContent -/// (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader's initializer method. If -/// you request this ad type, your delegate must conform to the GADNativeContentAdLoaderDelegate -/// protocol. -@interface GADNativeContentAd : GADNativeAd - -#pragma mark - Must be displayed - -/// Primary text headline. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *headline; -/// Secondary text. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *body; - -#pragma mark - Recommended to display - -/// Large images. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSArray *images; -/// Small logo image. -@property(nonatomic, readonly, strong, GAD_NULLABLE) GADNativeAdImage *logo; -/// Text that encourages user to take some action with the ad. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *callToAction; -/// Identifies the advertiser. For example, the advertiser’s name or visible URL. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *advertiser; -/// Video controller for controlling video playback in GADNativeContentAdView's mediaView. -@property(nonatomic, strong, readonly) GADVideoController *videoController; - -/// Registers ad view and asset views created with this native ad. -/// @param assetViews Dictionary of asset views keyed by asset IDs. -- (void)registerAdView:(UIView *)adView - assetViews:(NSDictionary<GADNativeContentAdAssetID, UIView *> *)assetViews - GAD_DEPRECATED_MSG_ATTRIBUTE("Use -registerAdView:clickableAssetViews:nonclickableAssetViews:"); - -/// Registers ad view, clickable asset views, and nonclickable asset views with this native ad. -/// Media view shouldn't be registered as clickable. -/// @param clickableAssetViews Dictionary of asset views that are clickable, keyed by asset IDs. -/// @param nonclickableAssetViews Dictionary of asset views that are not clickable, keyed by asset -/// IDs. -- (void)registerAdView:(UIView *)adView - clickableAssetViews:(NSDictionary<GADNativeContentAdAssetID, UIView *> *)clickableAssetViews - nonclickableAssetViews: - (NSDictionary<GADNativeContentAdAssetID, UIView *> *)nonclickableAssetViews; - -/// Unregisters ad view from this native ad. The corresponding asset views will also be -/// unregistered. -- (void)unregisterAdView; - -@end - -#pragma mark - Protocol and constants - -/// The delegate of a GADAdLoader object implements this protocol to receive GADNativeContentAd ads. -@protocol GADNativeContentAdLoaderDelegate<GADAdLoaderDelegate> -/// Called when native content is received. -- (void)adLoader:(GADAdLoader *)adLoader - didReceiveNativeContentAd:(GADNativeContentAd *)nativeContentAd; -@end - -#pragma mark - Native Content Ad View - -/// Base class for content ad views. Your content ad view must be a subclass of this class and must -/// call superclass methods for all overriden methods. -@interface GADNativeContentAdView : UIView - -/// This property must point to the native content ad object rendered by this ad view. -@property(nonatomic, strong, GAD_NULLABLE) GADNativeContentAd *nativeContentAd; - -/// Weak reference to your ad view's headline asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *headlineView; -/// Weak reference to your ad view's body asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *bodyView; -/// Weak reference to your ad view's image asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *imageView; -/// Weak reference to your ad view's logo asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *logoView; -/// Weak reference to your ad view's call to action asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *callToActionView; -/// Weak reference to your ad view's advertiser asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIView *advertiserView; -/// Weak reference to your ad view's media asset view. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet GADMediaView *mediaView; -/// Weak reference to your ad view's AdChoices view. Must set adChoicesView before setting -/// nativeContentAd, otherwise AdChoices will be rendered in the publisher's -/// preferredAdChoicesPosition as defined in GADNativeAdViewAdOptions. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet GADAdChoicesView *adChoicesView; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAdAssetIDs.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAdAssetIDs.h deleted file mode 100644 index 78ba54e922..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeContentAdAssetIDs.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// GADNativeContentAdAssetIDs.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -typedef NSString *GADNativeContentAdAssetID GAD_STRING_ENUM; - -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentHeadlineAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentBodyAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentCallToActionAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentAdvertiserAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentImageAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentLogoAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentAttributionIconAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentAttributionTextAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentMediaViewAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentAdChoicesViewAsset; -GAD_EXTERN GADNativeContentAdAssetID const GADNativeContentBackgroundAsset; - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeCustomTemplateAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeCustomTemplateAd.h deleted file mode 100644 index 2fb396219f..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeCustomTemplateAd.h +++ /dev/null @@ -1,94 +0,0 @@ -// -// GADNativeCustomTemplateAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADMediaView.h> -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Native ad custom click handler block. |assetID| is the ID of asset that has received a click. -typedef void (^GADNativeAdCustomClickHandler)(NSString *assetID); - -/// Asset key for the GADMediaView asset view. -GAD_EXTERN NSString *const GADNativeCustomTemplateAdMediaViewKey; - -/// Native custom template ad. To request this ad type, you need to pass -/// kGADAdLoaderAdTypeNativeCustomTemplate (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in -/// GADAdLoader's initializer method. If you request this ad type, your delegate must conform to the -/// GADNativeCustomTemplateAdLoaderDelegate protocol. -@interface GADNativeCustomTemplateAd : GADNativeAd - -/// The ad's custom template ID. -@property(nonatomic, readonly) NSString *templateID; - -/// Array of available asset keys. -@property(nonatomic, readonly) NSArray<NSString *> *availableAssetKeys; - -/// Returns video controller for controlling receiver's video. -@property(nonatomic, readonly, strong) GADVideoController *videoController; - -/// Returns media view for rendering video loaded by the receiver. Returns nil if receiver doesn't -/// has a video. -@property(nonatomic, readonly, strong, GAD_NULLABLE) GADMediaView *mediaView; - -/// Custom click handler. Set this property only if this template ad is configured with a custom -/// click action, otherwise set it to nil. If this property is set to a non-nil value, the ad's -/// built-in click actions are ignored and |customClickHandler| is executed when a click on the -/// asset is received. -@property(atomic, copy, GAD_NULLABLE) GADNativeAdCustomClickHandler customClickHandler; - -/// Returns the native ad image corresponding to the specified key or nil if the image is not -/// available. -- (GADNativeAdImage *GAD_NULLABLE_TYPE)imageForKey:(NSString *)key; - -/// Returns the string corresponding to the specified key or nil if the string is not available. -- (NSString *GAD_NULLABLE_TYPE)stringForKey:(NSString *)key; - -/// Call when the user clicks on the ad. Provide the asset key that best matches the asset the user -/// interacted with. If this ad is configured with a custom click action, ensure the receiver's -/// customClickHandler property is set before calling this method. -- (void)performClickOnAssetWithKey:(NSString *)assetKey; - -/// Call when the ad is displayed on screen to the user. Can be called multiple times. Only the -/// first impression is recorded. -- (void)recordImpression; - -/// Call when the user clicks on the ad. Provide the asset key that best matches the asset the user -/// interacted with. Provide |customClickHandler| only if this template is configured with a custom -/// click action, otherwise pass in nil. If a block is provided, the ad's built-in click actions are -/// ignored and |customClickHandler| is executed after recording the click. -/// -/// This method is deprecated. See performClickOnAssetWithKey: API. -- (void)performClickOnAssetWithKey:(NSString *)assetKey - customClickHandler:(dispatch_block_t GAD_NULLABLE_TYPE)customClickHandler - GAD_DEPRECATED_MSG_ATTRIBUTE("Use performClickOnAssetWithKey:."); - -@end - -#pragma mark - Loading Protocol - -/// The delegate of a GADAdLoader object implements this protocol to receive -/// GADNativeCustomTemplateAd ads. -@protocol GADNativeCustomTemplateAdLoaderDelegate<GADAdLoaderDelegate> - -/// Called when requesting an ad. Asks the delegate for an array of custom template ID strings. -- (NSArray<NSString *> *)nativeCustomTemplateIDsForAdLoader:(GADAdLoader *)adLoader; - -/// Tells the delegate that a native custom template ad was received. -- (void)adLoader:(GADAdLoader *)adLoader - didReceiveNativeCustomTemplateAd:(GADNativeCustomTemplateAd *)nativeCustomTemplateAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdView.h deleted file mode 100644 index ed93885ca1..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdView.h +++ /dev/null @@ -1,97 +0,0 @@ -// -// GADNativeExpressAdView.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GADNativeExpressAdViewDelegate.h> -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The view that displays native ads. A minimum implementation to get an ad from within a -/// UIViewController class is: -/// -/// <pre> -/// // Create and setup the ad view, specifying the size and origin at {0, 0}. -/// GADNativeExpressAdView *adView = -/// [[GADNativeExpressAdView alloc] initWithAdSize:kGADAdSizeBanner]; -/// adView.rootViewController = self; -/// adView.adUnitID = @"ID created when registering your app"; -/// // Place the ad view onto the screen. -/// [self.view addSubview:adView]; -/// // Request an ad without any additional targeting information. -/// [adView loadRequest:[GADRequest request]]; -/// </pre> -GAD_DEPRECATED_ATTRIBUTE -@interface GADNativeExpressAdView : UIView - -#pragma mark - Initialization - -/// Returns an initialized GADNativeExpressAdView instance set to |adSize| and positioned at -/// |origin| relative to its superview bounds. Returns nil if |adSize| is an invalid ad size. -- (instancetype GAD_NULLABLE_TYPE)initWithAdSize:(GADAdSize)adSize origin:(CGPoint)origin; - -/// Returns an initialized GADNativeExpressAdView instance set to |adSize| and positioned at the top -/// left of its superview. Returns nil if |adSize| is an invalid ad size. -- (instancetype GAD_NULLABLE_TYPE)initWithAdSize:(GADAdSize)adSize; - -/// Video controller for controlling video rendered by this native express ad view. -@property(nonatomic, strong, readonly) GADVideoController *videoController; - -#pragma mark - Pre-Request - -/// Required value created on the AdMob website. Create a new ad unit for every unique placement of -/// an ad in your application. Set this to the ID assigned for this placement. Ad units are -/// important for targeting and statistics. -/// -/// Example AdMob ad unit ID: @"ca-app-pub-0123456789012345/0123456789" -@property(nonatomic, copy, GAD_NULLABLE) IBInspectable NSString *adUnitID; - -/// Required reference to the current root view controller. For example, the root view controller in -/// a tab-based application would be the UITabViewController. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet UIViewController *rootViewController; - -/// Required to set this native ad view to a proper size. Never create your own GADAdSize directly. -/// Use one of the predefined standard ad sizes (such as kGADAdSizeBanner), or create one using the -/// GADAdSizeFromCGSize method. If you are not using mediation, changing the adSize after an ad has -/// been shown will cause a new request (for an ad of the new size) to be sent. If you are using -/// mediation, then a new request may not be sent. -@property(nonatomic, assign) GADAdSize adSize; - -/// Optional delegate object that receives state change notifications from this -/// GADNativeExpressAdView. Typically this is a UIViewController. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADNativeExpressAdViewDelegate> delegate; - -/// A Boolean value that determines whether autoloading of ads in the receiver is enabled. If -/// enabled, you do not need to call the loadRequest: method to load ads. -@property(nonatomic, assign, getter=isAutoloadEnabled) IBInspectable BOOL autoloadEnabled; - -/// Sets options that configure ad loading. -/// -/// @param adOptions An array of GADAdLoaderOptions objects. The array is deep copied and option -/// objects cannot be modified after calling this method. -- (void)setAdOptions:(NSArray *)adOptions; - -#pragma mark - Making an Ad Request - -/// Makes an ad request. The request object supplies targeting information. -- (void)loadRequest:(GADRequest *GAD_NULLABLE_TYPE)request; - -#pragma mark - Mediation - -/// The name of the ad network adapter class that fetched the current ad. Returns nil while the -/// latest ad request is in progress or if the latest ad request failed. For both standard and -/// mediated Google AdMob ads, this method returns @"GADMAdapterGoogleAdMobAds". For ads fetched via -/// mediation custom events, this method returns @"GADMAdapterCustomEvents". -@property(nonatomic, readonly, weak, GAD_NULLABLE) NSString *adNetworkClassName; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdViewDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdViewDelegate.h deleted file mode 100644 index 96046e2273..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADNativeExpressAdViewDelegate.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// GADNativeExpressAdViewDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADNativeExpressAdView; - -GAD_ASSUME_NONNULL_BEGIN - -/// Delegate methods for receiving GADNativeExpressAdView state change messages such as ad request -/// status and ad click lifecycle. -@protocol GADNativeExpressAdViewDelegate<NSObject> - -@optional - -#pragma mark Ad Request Lifecycle Notifications - -/// Tells the delegate that the native express ad view successfully received an ad. The delegate may -/// want to add the native express ad view to the view hierarchy if it hasn't been added yet. -- (void)nativeExpressAdViewDidReceiveAd:(GADNativeExpressAdView *)nativeExpressAdView; - -/// Tells the delegate that an ad request failed. The failure is normally due to network -/// connectivity or ad availablility (i.e., no fill). -- (void)nativeExpressAdView:(GADNativeExpressAdView *)nativeExpressAdView - didFailToReceiveAdWithError:(GADRequestError *)error; - -#pragma mark Click-Time Lifecycle Notifications - -/// Tells the delegate that a full screen view will be presented in response to the user clicking on -/// an ad. The delegate may want to pause animations and time sensitive interactions. -- (void)nativeExpressAdViewWillPresentScreen:(GADNativeExpressAdView *)nativeExpressAdView; - -/// Tells the delegate that the full screen view will be dismissed. -- (void)nativeExpressAdViewWillDismissScreen:(GADNativeExpressAdView *)nativeExpressAdView; - -/// Tells the delegate that the full screen view has been dismissed. The delegate should restart -/// anything paused while handling adViewWillPresentScreen:. -- (void)nativeExpressAdViewDidDismissScreen:(GADNativeExpressAdView *)nativeExpressAdView; - -/// Tells the delegate that the user click will open another app, backgrounding the current -/// application. The standard UIApplicationDelegate methods, like applicationDidEnterBackground:, -/// are called immediately before this method is called. -- (void)nativeExpressAdViewWillLeaveApplication:(GADNativeExpressAdView *)nativeExpressAdView; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequest.h deleted file mode 100644 index 5aa7f27c7a..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequest.h +++ /dev/null @@ -1,124 +0,0 @@ -// -// GADRequest.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <CoreGraphics/CoreGraphics.h> -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAdNetworkExtras.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Add this constant to the testDevices property's array to receive test ads on the simulator. -GAD_EXTERN const id kGADSimulatorID; - -/// Deprecated gender constants. -typedef NS_ENUM(NSInteger, GADGender) { - kGADGenderUnknown, ///< Deprecated. - kGADGenderMale, ///< Deprecated. - kGADGenderFemale ///< Deprecated. -}; - -/// Specifies optional parameters for ad requests. -@interface GADRequest : NSObject<NSCopying> - -/// Returns a default request. -+ (instancetype)request; - -#pragma mark Additional Parameters For Ad Networks - -/// Ad networks may have additional parameters they accept. To pass these parameters to them, create -/// the ad network extras object for that network, fill in the parameters, and register it here. The -/// ad network should have a header defining the interface for the 'extras' object to create. All -/// networks will have access to the basic settings you've set in this GADRequest. If you register -/// an extras object that is the same class as one you have registered before, the previous extras -/// will be overwritten. -- (void)registerAdNetworkExtras:(id<GADAdNetworkExtras>)extras; - -/// Returns the network extras defined for an ad network. -- (id<GADAdNetworkExtras> GAD_NULLABLE_TYPE)adNetworkExtrasFor:(Class<GADAdNetworkExtras>)aClass; - -/// Removes the extras for an ad network. |aClass| is the class which represents that network's -/// extras type. -- (void)removeAdNetworkExtrasFor:(Class<GADAdNetworkExtras>)aClass; - -#pragma mark Collecting SDK Information - -/// Returns the version of the SDK. -+ (NSString *)sdkVersion; - -#pragma mark Testing - -/// Test ads will be returned for devices with device IDs specified in this array. -@property(nonatomic, copy, GAD_NULLABLE) NSArray *testDevices; - -#pragma mark User Information - -/// The user's current location may be used to deliver more relevant ads. However do not use Core -/// Location just for advertising, make sure it is used for more beneficial reasons as well. It is -/// both a good idea and part of Apple's guidelines. -- (void)setLocationWithLatitude:(CGFloat)latitude - longitude:(CGFloat)longitude - accuracy:(CGFloat)accuracyInMeters; - -/// [Optional] This method allows you to specify whether you would like your app to be treated as -/// child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA), -/// http:///business.ftc.gov/privacy-and-security/childrens-privacy. -/// -/// If you call this method with YES, you are indicating that your app should be treated as -/// child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA). If you call -/// this method with NO, you are indicating that your app should not be treated as child-directed -/// for purposes of the Children’s Online Privacy Protection Act (COPPA). If you do not call this -/// method, ad requests will include no indication of how you would like your app treated with -/// respect to COPPA. -/// -/// By setting this method, you certify that this notification is accurate and you are authorized to -/// act on behalf of the owner of the app. You understand that abuse of this setting may result in -/// termination of your Google account. -/// -/// It may take some time for this designation to be fully implemented in applicable Google -/// services. This designation will only apply to ad requests for which you have set this method. -- (void)tagForChildDirectedTreatment:(BOOL)childDirectedTreatment; - -#pragma mark Contextual Information - -/// Array of keyword strings. Keywords are words or phrases describing the current user activity -/// such as @"Sports Scores" or @"Football". Set this property to nil to clear the keywords. -@property(nonatomic, copy, GAD_NULLABLE) NSArray *keywords; - -/// URL string for a webpage whose content matches the app content. This webpage content is used for -/// targeting purposes. -@property(nonatomic, copy, GAD_NULLABLE) NSString *contentURL; - -#pragma mark Request Agent Information - -/// String that identifies the ad request's origin. Third party libraries that reference the Mobile -/// Ads SDK should set this property to denote the platform from which the ad request originated. -/// For example, a third party ad network called "CoolAds network" that is mediating requests to the -/// Mobile Ads SDK should set this property as "CoolAds". -@property(nonatomic, copy, GAD_NULLABLE) NSString *requestAgent; - -#pragma mark Deprecated Methods - -/// Deprecated property. The user's gender. -@property(nonatomic, assign) GADGender gender GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated property. The user's birthday. -@property(nonatomic, copy, GAD_NULLABLE) NSDate *birthday GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated. -- (void)setBirthdayWithMonth:(NSInteger)month - day:(NSInteger)day - year:(NSInteger)year GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated. -- (void)setLocationWithDescription:(NSString *GAD_NULLABLE_TYPE)locationDescription - GAD_DEPRECATED_MSG_ATTRIBUTE(" use setLocationWithLatitude:longitude:accuracy:."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequestError.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequestError.h deleted file mode 100644 index b38dcbe894..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRequestError.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// GADRequestError.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADRequest; - -GAD_ASSUME_NONNULL_BEGIN - -/// Google AdMob Ads error domain. -GAD_EXTERN NSString *const kGADErrorDomain; - -/// NSError codes for GAD error domain. -typedef NS_ENUM(NSInteger, GADErrorCode) { - /// The ad request is invalid. The localizedFailureReason error description will have more - /// details. Typically this is because the ad did not have the ad unit ID or root view - /// controller set. - kGADErrorInvalidRequest, - - /// The ad request was successful, but no ad was returned. - kGADErrorNoFill, - - /// There was an error loading data from the network. - kGADErrorNetworkError, - - /// The ad server experienced a failure processing the request. - kGADErrorServerError, - - /// The current device's OS is below the minimum required version. - kGADErrorOSVersionTooLow, - - /// The request was unable to be loaded before being timed out. - kGADErrorTimeout, - - /// Will not send request because the interstitial object has already been used. - kGADErrorInterstitialAlreadyUsed, - - /// The mediation response was invalid. - kGADErrorMediationDataError, - - /// Error finding or creating a mediation ad network adapter. - kGADErrorMediationAdapterError, - - /// The mediation request was successful, but no ad was returned from any ad networks. - kGADErrorMediationNoFill, - - /// Attempting to pass an invalid ad size to an adapter. - kGADErrorMediationInvalidAdSize, - - /// Internal error. - kGADErrorInternalError, - - /// Invalid argument error. - kGADErrorInvalidArgument, - - /// Received invalid response. - kGADErrorReceivedInvalidResponse -}; - -/// Represents the error generated due to invalid request parameters. -@interface GADRequestError : NSError -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h deleted file mode 100644 index 6a27aa5086..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// GADRewardBasedVideoAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@protocol GADRewardBasedVideoAdDelegate; - -GAD_ASSUME_NONNULL_BEGIN - -/// The GADRewardBasedVideoAd class is used for requesting and presenting a reward based video ad. -/// This class isn't thread safe. -@interface GADRewardBasedVideoAd : NSObject - -/// Delegate for receiving video notifications. -@property(nonatomic, weak, GAD_NULLABLE) id<GADRewardBasedVideoAdDelegate> delegate; - -/// Indicates if the receiver is ready to be presented full screen. -@property(nonatomic, readonly, getter=isReady) BOOL ready; - -/// The ad network class name that fetched the current ad. Returns nil while the latest ad request -/// is in progress or if the latest ad request failed. For both standard and mediated Google AdMob -/// ads, this property returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation custom -/// events, this property returns the mediated custom event adapter. -@property(nonatomic, readonly, copy, GAD_NULLABLE) NSString *adNetworkClassName; - -/// A unique identifier used to identify the user when making server-to-server reward callbacks. -/// This value is used at both request time and during ad display. New values must only be set -/// before ad requests. -@property(nonatomic, copy, GAD_NULLABLE) NSString *userIdentifier; - -/// Returns the shared GADRewardBasedVideoAd instance. -+ (GADRewardBasedVideoAd *)sharedInstance; - -/// Initiates the request to fetch the reward based video ad. The |request| object supplies ad -/// targeting information and must not be nil. The adUnitID is the ad unit id used for fetching an -/// ad and must not be nil. -- (void)loadRequest:(GADRequest *)request withAdUnitID:(NSString *)adUnitID; - -/// Presents the reward based video ad with the provided view controller. -- (void)presentFromRootViewController:(UIViewController *)viewController; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAdDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAdDelegate.h deleted file mode 100644 index 9d91f600f0..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAdDelegate.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// GADRewardBasedVideoAdDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADAdReward.h> -#import <GoogleMobileAds/GADRewardBasedVideoAd.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Delegate for receiving state change messages from a GADRewardBasedVideoAd such as ad requests -/// succeeding/failing. -@protocol GADRewardBasedVideoAdDelegate<NSObject> - -@required - -/// Tells the delegate that the reward based video ad has rewarded the user. -- (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd - didRewardUserWithReward:(GADAdReward *)reward; - -@optional - -/// Tells the delegate that the reward based video ad failed to load. -- (void)rewardBasedVideoAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd - didFailToLoadWithError:(NSError *)error; - -/// Tells the delegate that a reward based video ad was received. -- (void)rewardBasedVideoAdDidReceiveAd:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -/// Tells the delegate that the reward based video ad opened. -- (void)rewardBasedVideoAdDidOpen:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -/// Tells the delegate that the reward based video ad started playing. -- (void)rewardBasedVideoAdDidStartPlaying:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -/// Tells the delegate that the reward based video ad completed playing. -- (void)rewardBasedVideoAdDidCompletePlaying:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -/// Tells the delegate that the reward based video ad closed. -- (void)rewardBasedVideoAdDidClose:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -/// Tells the delegate that the reward based video ad will leave the application. -- (void)rewardBasedVideoAdWillLeaveApplication:(GADRewardBasedVideoAd *)rewardBasedVideoAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchBannerView.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchBannerView.h deleted file mode 100644 index 590b2770ea..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchBannerView.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// GADSearchBannerView.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdSizeDelegate.h> -#import <GoogleMobileAds/GADBannerView.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// A view that displays search ads. -/// To show search ads: -/// 1) Create a GADSearchBannerView and add it to your view controller's view hierarchy. -/// 2) Create a GADSearchRequest ad request object to hold the search query and other search data. -/// 3) Call GADSearchBannerView's -loadRequest: method with the GADSearchRequest object. -@interface GADSearchBannerView : GADBannerView - -/// If the banner view is initialized with kGADAdSizeFluid and the corresponding request is created -/// with dynamic height parameters, this delegate will be called when the ad size changes. -@property(nonatomic, weak, GAD_NULLABLE) IBOutlet id<GADAdSizeDelegate> adSizeDelegate; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchRequest.h deleted file mode 100644 index 34fb68bd00..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADSearchRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -// -// GADSearchRequest.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Search ad border types. -typedef NS_ENUM(NSUInteger, GADSearchBorderType) { - kGADSearchBorderTypeNone, ///< No border. - kGADSearchBorderTypeDashed, ///< Dashed line border. - kGADSearchBorderTypeDotted, ///< Dotted line border. - kGADSearchBorderTypeSolid ///< Solid line border. -}; - -/// Search ad call button color types. -typedef NS_ENUM(NSUInteger, GADSearchCallButtonColor) { - kGADSearchCallButtonLight, ///< Light button color. - kGADSearchCallButtonMedium, ///< Medium button color. - kGADSearchCallButtonDark ///< Dark button color. -}; - -/// Specifies parameters for search ads. -@interface GADSearchRequest : GADRequest - -/// The search ad query. -@property(nonatomic, copy, GAD_NULLABLE) NSString *query; -/// The search ad background color. -@property(nonatomic, readonly, copy, GAD_NULLABLE) UIColor *backgroundColor; -/// The search ad gradient "from" color. -@property(nonatomic, readonly, copy, GAD_NULLABLE) UIColor *gradientFrom; -/// The search ad gradient "to" color. -@property(nonatomic, readonly, copy, GAD_NULLABLE) UIColor *gradientTo; -/// The search ad header color. -@property(nonatomic, copy, GAD_NULLABLE) UIColor *headerColor; -/// The search ad description text color. -@property(nonatomic, copy, GAD_NULLABLE) UIColor *descriptionTextColor; -/// The search ad anchor text color. -@property(nonatomic, copy, GAD_NULLABLE) UIColor *anchorTextColor; -/// The search ad text font family. -@property(nonatomic, copy, GAD_NULLABLE) NSString *fontFamily; -/// The search ad header text size. -@property(nonatomic, assign) NSUInteger headerTextSize; -/// The search ad border color. -@property(nonatomic, copy, GAD_NULLABLE) UIColor *borderColor; -/// The search ad border type. -@property(nonatomic, assign) GADSearchBorderType borderType; -/// The search ad border thickness. -@property(nonatomic, assign) NSUInteger borderThickness; -/// The search ad custom channels. -@property(nonatomic, copy, GAD_NULLABLE) NSString *customChannels; -/// The search ad call button color. -@property(nonatomic, assign) GADSearchCallButtonColor callButtonColor; - -/// A solid background color for rendering the ad. The background of the ad -/// can either be a solid color, or a gradient, which can be specified through -/// setBackgroundGradientFrom:toColor: method. If both solid and gradient -/// background is requested, only the latter is considered. -- (void)setBackgroundSolid:(UIColor *)color; - -/// A linear gradient background color for rendering the ad. The background of -/// the ad can either be a linear gradient, or a solid color, which can be -/// specified through setBackgroundSolid method. If both solid and gradient -/// background is requested, only the latter is considered. -- (void)setBackgroundGradientFrom:(UIColor *)from toColor:(UIColor *)toColor; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd+ConfirmationClick.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd+ConfirmationClick.h deleted file mode 100644 index 7513522bab..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd+ConfirmationClick.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// GADUnifiedNativeAd+ConfirmationClick.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADUnifiedNativeAdUnconfirmedClickDelegate.h> -#import <GoogleMobileAds/GADUnifiedNativeAd.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@interface GADUnifiedNativeAd (ConfirmationClick) - -/// Unconfirmed click delegate. -@property(nonatomic, weak, nullable) - id<GADUnifiedNativeAdUnconfirmedClickDelegate> unconfirmedClickDelegate; - -/// Registers a view that will confirm the click. -- (void)registerClickConfirmingView:(nullable UIView *)view; - -/// Cancels the unconfirmed click. Called when user fails to confirm the click. When this method is -/// called, SDK stops tracking click on the registered click confirming view and invokes the -/// -nativeAdDidCancelUnconfirmedClick: delegate method. If there's no ongoing unconfirmed click, -/// this method is no-op. -- (void)cancelUnconfirmedClick; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd.h deleted file mode 100644 index f0ce2cbfa6..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAd.h +++ /dev/null @@ -1,129 +0,0 @@ -// -// GADUnifiedNativeAd.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GADAdChoicesView.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> -#import <GoogleMobileAds/GADMediaView.h> -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GADUnifiedNativeAdAssetIdentifiers.h> -#import <GoogleMobileAds/GADUnifiedNativeAdDelegate.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Unified native ad. To request this ad type, pass kGADAdLoaderAdTypeUnifiedNative -/// (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader's initializer method. If -/// you request this ad type, your delegate must conform to the GADUnifiedNativeAdLoaderDelegate -/// protocol. -@interface GADUnifiedNativeAd : NSObject - -#pragma mark - Must be displayed if available - -/// Headline -@property(nonatomic, readonly, copy, nullable) NSString *headline; - -#pragma mark - Recommended to display - -/// Text that encourages user to take some action with the ad. For example "Install". -@property(nonatomic, readonly, copy, nullable) NSString *callToAction; -/// Icon image. -@property(nonatomic, readonly, strong, nullable) GADNativeAdImage *icon; -/// Description. -@property(nonatomic, readonly, copy, nullable) NSString *body; -/// Array of GADNativeAdImage objects. -@property(nonatomic, readonly, strong, nullable) NSArray<GADNativeAdImage *> *images; -/// App store rating (0 to 5). -@property(nonatomic, readonly, copy, nullable) NSDecimalNumber *starRating; -/// The app store name. For example, "App Store". -@property(nonatomic, readonly, copy, nullable) NSString *store; -/// String representation of the app's price. -@property(nonatomic, readonly, copy, nullable) NSString *price; -/// Identifies the advertiser. For example, the advertiser’s name or visible URL. -@property(nonatomic, readonly, copy, nullable) NSString *advertiser; -/// Video controller for controlling video playback in GADUnifiedNativeAdView's mediaView. -@property(nonatomic, strong, readonly, nullable) GADVideoController *videoController; - -/// Optional delegate to receive state change notifications. -@property(nonatomic, weak, nullable) id<GADUnifiedNativeAdDelegate> delegate; - -/// Root view controller for handling ad actions. -@property(nonatomic, weak, nullable) UIViewController *rootViewController; - -/// Dictionary of assets which aren't processed by the receiver. -@property(nonatomic, readonly, copy, nullable) NSDictionary<NSString *, id> *extraAssets; - -/// The ad network class name that fetched the current ad. For both standard and mediated Google -/// AdMob ads, this method returns @"GADMAdapterGoogleAdMobAds". For ads fetched via mediation -/// custom events, this method returns @"GADMAdapterCustomEvents". -@property(nonatomic, readonly, copy, nullable) NSString *adNetworkClassName; - -/// Registers ad view, clickable asset views, and nonclickable asset views with this native ad. -/// Media view shouldn't be registered as clickable. -/// @param clickableAssetViews Dictionary of asset views that are clickable, keyed by asset IDs. -/// @param nonclickableAssetViews Dictionary of asset views that are not clickable, keyed by asset -/// IDs. -- (void)registerAdView:(UIView *)adView - clickableAssetViews: - (NSDictionary<GADUnifiedNativeAssetIdentifier, UIView *> *)clickableAssetViews - nonclickableAssetViews: - (NSDictionary<GADUnifiedNativeAssetIdentifier, UIView *> *)nonclickableAssetViews; - -/// Unregisters ad view from this native ad. The corresponding asset views will also be -/// unregistered. -- (void)unregisterAdView; - -@end - -#pragma mark - Protocol and constants - -/// The delegate of a GADAdLoader object implements this protocol to receive GADUnifiedNativeAd ads. -@protocol GADUnifiedNativeAdLoaderDelegate<GADAdLoaderDelegate> -/// Called when a unified native ad is received. -- (void)adLoader:(GADAdLoader *)adLoader didReceiveUnifiedNativeAd:(GADUnifiedNativeAd *)nativeAd; -@end - -#pragma mark - Unified Native Ad View - -/// Base class for native ad views. Your native ad view must be a subclass of this class and must -/// call superclass methods for all overridden methods. -@interface GADUnifiedNativeAdView : UIView - -/// This property must point to the unified native ad object rendered by this ad view. -@property(nonatomic, strong, nullable) GADUnifiedNativeAd *nativeAd; - -/// Weak reference to your ad view's headline asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *headlineView; -/// Weak reference to your ad view's call to action asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *callToActionView; -/// Weak reference to your ad view's icon asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *iconView; -/// Weak reference to your ad view's body asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *bodyView; -/// Weak reference to your ad view's store asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *storeView; -/// Weak reference to your ad view's price asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *priceView; -/// Weak reference to your ad view's image asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *imageView; -/// Weak reference to your ad view's star rating asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *starRatingView; -/// Weak reference to your ad view's advertiser asset view. -@property(nonatomic, weak, nullable) IBOutlet UIView *advertiserView; -/// Weak reference to your ad view's media asset view. -@property(nonatomic, weak, nullable) IBOutlet GADMediaView *mediaView; -/// Weak reference to your ad view's AdChoices view. Must set adChoicesView before setting -/// nativeAd, otherwise AdChoices will be rendered in the publisher's preferredAdChoicesPosition as -/// defined in GADNativeAdViewAdOptions. -@property(nonatomic, weak, nullable) IBOutlet GADAdChoicesView *adChoicesView; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdAssetIdentifiers.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdAssetIdentifiers.h deleted file mode 100644 index cbe687d907..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdAssetIdentifiers.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// GADUnifiedNativeAdAssetIdentifiers.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -typedef NSString *GADUnifiedNativeAssetIdentifier GAD_STRING_ENUM; - -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeHeadlineAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeCallToActionAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeIconAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeBodyAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeStoreAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativePriceAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeImageAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeStarRatingAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeAdvertiserAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeMediaViewAsset; -GAD_EXTERN GADUnifiedNativeAssetIdentifier const GADUnifiedNativeAdChoicesViewAsset; - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdDelegate.h deleted file mode 100644 index e27294bfff..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdDelegate.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// GADUnifiedNativeAdDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADUnifiedNativeAd; - -GAD_ASSUME_NONNULL_BEGIN - -/// Identifies native ad assets. -@protocol GADUnifiedNativeAdDelegate<NSObject> - -@optional - -#pragma mark Ad Lifecycle Events - -/// Called when an impression is recorded for an ad. Only called for Google ads and is not supported -/// for mediated ads. -- (void)nativeAdDidRecordImpression:(GADUnifiedNativeAd *)nativeAd; - -/// Called when a click is recorded for an ad. Only called for Google ads and is not supported for -/// mediated ads. -- (void)nativeAdDidRecordClick:(GADUnifiedNativeAd *)nativeAd; - -#pragma mark Click-Time Lifecycle Notifications - -/// Called before presenting the user a full screen view in response to an ad action. Use this -/// opportunity to stop animations, time sensitive interactions, etc. -/// -/// Normally the user looks at the ad, dismisses it, and control returns to your application with -/// the nativeAdDidDismissScreen: message. However, if the user hits the Home button or clicks on an -/// App Store link, your application will be backgrounded. The next method called will be the -/// applicationWillResignActive: of your UIApplicationDelegate object. Immediately after that, -/// nativeAdWillLeaveApplication: is called. -- (void)nativeAdWillPresentScreen:(GADUnifiedNativeAd *)nativeAd; - -/// Called before dismissing a full screen view. -- (void)nativeAdWillDismissScreen:(GADUnifiedNativeAd *)nativeAd; - -/// Called after dismissing a full screen view. Use this opportunity to restart anything you may -/// have stopped as part of nativeAdWillPresentScreen:. -- (void)nativeAdDidDismissScreen:(GADUnifiedNativeAd *)nativeAd; - -/// Called before the application will go to the background or terminate due to an ad action that -/// will launch another application (such as the App Store). The normal UIApplicationDelegate -/// methods, like applicationDidEnterBackground:, will be called immediately before this. -- (void)nativeAdWillLeaveApplication:(GADUnifiedNativeAd *)nativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdUnconfirmedClickDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdUnconfirmedClickDelegate.h deleted file mode 100644 index 90a74987d3..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADUnifiedNativeAdUnconfirmedClickDelegate.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// GADUnifiedNativeAdUnconfirmedClickDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADUnifiedNativeAdAssetIdentifiers.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -@class GADUnifiedNativeAd; - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADUnifiedNativeAdUnconfirmedClickDelegate<NSObject> - -/// Tells the delegate that native ad receives an unconfirmed click on view with asset ID. You -/// should update user interface and ask user to confirm the click once this message is received. -/// Use the -registerClickConfirmingView: method in GADNUnifiedNativeAd+ConfirmationClick.h to -/// register a view that will confirm the click. Only called for Google ads and is not supported for -/// mediated ads. -- (void)nativeAd:(GADUnifiedNativeAd *)nativeAd - didReceiveUnconfirmedClickOnAssetID:(GADUnifiedNativeAssetIdentifier)assetID; - -/// Tells the delegate that the unconfirmed click is cancelled. You should revert the user interface -/// change once this message is received. Only called for Google ads and is not supported for -/// mediated ads. -- (void)nativeAdDidCancelUnconfirmedClick:(GADUnifiedNativeAd *)nativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoController.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoController.h deleted file mode 100644 index fa4fc9da81..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoController.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// GADVideoController.h -// Google Mobile Ads SDK -// -// Copyright (c) 2016 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADVideoControllerDelegate; - -/// The video controller class provides a way to get the video metadata and also manages video -/// content of the ad rendered by the Google Mobile Ads SDK. You don't need to create an instance of -/// this class. When the ad rendered by the Google Mobile Ads SDK loads video content, you may be -/// able to get an instance of this class from the rendered ad object. -@interface GADVideoController : NSObject - -/// Delegate for receiving video notifications. -@property(nonatomic, weak, GAD_NULLABLE) id<GADVideoControllerDelegate> delegate; - -/// Mute or unmute video. Set to YES to mute the video. Set to NO to allow the video to play sound. -- (void)setMute:(BOOL)mute; - -/// Play the video. Doesn't do anything if the video is already playing. -- (void)play; - -/// Pause the video. Doesn't do anything if the video is already paused. -- (void)pause; - -/// Returns a Boolean indicating if the receiver has video content. -- (BOOL)hasVideoContent; - -/// Returns the video's aspect ratio (width/height) or 0 if no video is present. -- (double)aspectRatio; - -/// Indicates if video custom controls (i.e. play/pause/mute/unmute) are enabled. -- (BOOL)customControlsEnabled; - -/// Indicates if video click to expand behavior is enabled. -- (BOOL)clickToExpandEnabled; -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoControllerDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoControllerDelegate.h deleted file mode 100644 index 4b6fff9caa..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoControllerDelegate.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// GADVideoControllerDelegate.h -// Google Mobile Ads SDK -// -// Copyright (c) 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// The GADVideoControllerDelegate protocol defines methods that are called by the video controller -/// object in response to the video events that occured throught the lifetime of the video rendered -/// by an ad. -@protocol GADVideoControllerDelegate<NSObject> - -@optional - -/// Tells the delegate that the video controller has began or resumed playing a video. -- (void)videoControllerDidPlayVideo:(GADVideoController *)videoController; - -/// Tells the delegate that the video controller has paused video. -- (void)videoControllerDidPauseVideo:(GADVideoController *)videoController; - -/// Tells the delegate that the video controller's video playback has ended. -- (void)videoControllerDidEndVideoPlayback:(GADVideoController *)videoController; - -/// Tells the delegate that the video controller has muted video. -- (void)videoControllerDidMuteVideo:(GADVideoController *)videoController; - -/// Tells the delegate that the video controller has unmuted video. -- (void)videoControllerDidUnmuteVideo:(GADVideoController *)videoController; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoOptions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoOptions.h deleted file mode 100644 index 26bb7ca4d3..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GADVideoOptions.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// GADVideoOptions.h -// Google Mobile Ads SDK -// -// Copyright 2016 Google Inc. All rights reserved. -// - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Video ad options. -@interface GADVideoOptions : GADAdLoaderOptions - -/// Indicates if videos should start muted. By default this property value is YES. -@property(nonatomic, assign) BOOL startMuted; - -/// Indicates if the requested video should have custom controls enabled for play/pause/mute/unmute. -@property(nonatomic, assign) BOOL customControlsRequested; - -/// Indicates whether the requested video should have the click to expand behavior. -@property(nonatomic, assign) BOOL clickToExpandRequested; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAds.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAds.h deleted file mode 100644 index 4096d38e43..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAds.h +++ /dev/null @@ -1,112 +0,0 @@ -// -// GoogleMobileAds.h -// Google Mobile Ads SDK -// -// Copyright 2014 Google Inc. All rights reserved. - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0 -#error The Google Mobile Ads SDK requires a deployment target of iOS 6.0 or later. -#endif - -#if defined(__ARM_ARCH_7S__) && __ARM_ARCH_7S__ -#error The Google Mobile Ads SDK doesn't support linking with armv7s. Remove armv7s from "ARCHS" (Architectures) in your Build Settings. -#endif - -/// Project version string for GoogleMobileAds. -FOUNDATION_EXPORT const unsigned char GoogleMobileAdsVersionString[]; - -// Header files. -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -#import <GoogleMobileAds/GADAdNetworkExtras.h> -#import <GoogleMobileAds/GADAdSize.h> -#import <GoogleMobileAds/GADAudioVideoManagerDelegate.h> -#import <GoogleMobileAds/GADAudioVideoManager.h> -#import <GoogleMobileAds/GADBannerView.h> -#import <GoogleMobileAds/GADBannerViewDelegate.h> -#import <GoogleMobileAds/GADCorrelator.h> -#import <GoogleMobileAds/GADCorrelatorAdLoaderOptions.h> -#import <GoogleMobileAds/GADDebugOptionsViewController.h> -#import <GoogleMobileAds/GADExtras.h> -#import <GoogleMobileAds/GADInAppPurchase.h> -#import <GoogleMobileAds/GADInAppPurchaseDelegate.h> -#import <GoogleMobileAds/GADInterstitial.h> -#import <GoogleMobileAds/GADInterstitialDelegate.h> -#import <GoogleMobileAds/GADMediaView.h> -#import <GoogleMobileAds/GADMobileAds.h> -#import <GoogleMobileAds/GADNativeExpressAdView.h> -#import <GoogleMobileAds/GADNativeExpressAdViewDelegate.h> -#import <GoogleMobileAds/GADRequest.h> -#import <GoogleMobileAds/GADRequestError.h> -#import <GoogleMobileAds/GADVideoController.h> -#import <GoogleMobileAds/GADVideoControllerDelegate.h> -#import <GoogleMobileAds/GADVideoOptions.h> - -#import <GoogleMobileAds/DFPBannerView.h> -#import <GoogleMobileAds/DFPBannerViewOptions.h> -#import <GoogleMobileAds/DFPCustomRenderedAd.h> -#import <GoogleMobileAds/DFPCustomRenderedBannerViewDelegate.h> -#import <GoogleMobileAds/DFPCustomRenderedInterstitialDelegate.h> -#import <GoogleMobileAds/DFPInterstitial.h> -#import <GoogleMobileAds/DFPRequest.h> -#import <GoogleMobileAds/GADAdSizeDelegate.h> -#import <GoogleMobileAds/GADAppEventDelegate.h> - -#import <GoogleMobileAds/GADAdLoader.h> -#import <GoogleMobileAds/GADAdLoaderAdTypes.h> -#import <GoogleMobileAds/GADAdLoaderDelegate.h> - -#import <GoogleMobileAds/GADAdChoicesView.h> -#import <GoogleMobileAds/GADNativeAd.h> -#import <GoogleMobileAds/GADNativeAdDelegate.h> -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADNativeAdImage+Mediation.h> -#import <GoogleMobileAds/GADNativeAppInstallAd.h> -#import <GoogleMobileAds/GADNativeAppInstallAdAssetIDs.h> -#import <GoogleMobileAds/GADNativeContentAd.h> -#import <GoogleMobileAds/GADNativeContentAdAssetIDs.h> -#import <GoogleMobileAds/GADNativeCustomTemplateAd.h> -#import <GoogleMobileAds/GADUnifiedNativeAd.h> -#import <GoogleMobileAds/GADUnifiedNativeAd+ConfirmationClick.h> -#import <GoogleMobileAds/GADUnifiedNativeAdAssetIdentifiers.h> -#import <GoogleMobileAds/GADUnifiedNativeAdDelegate.h> -#import <GoogleMobileAds/GADUnifiedNativeAdUnconfirmedClickDelegate.h> - -#import <GoogleMobileAds/GADMultipleAdsAdLoaderOptions.h> -#import <GoogleMobileAds/GADNativeAdImageAdLoaderOptions.h> -#import <GoogleMobileAds/GADNativeAdViewAdOptions.h> - -#import <GoogleMobileAds/GADCustomEventBanner.h> -#import <GoogleMobileAds/GADCustomEventBannerDelegate.h> -#import <GoogleMobileAds/GADCustomEventExtras.h> -#import <GoogleMobileAds/GADCustomEventInterstitial.h> -#import <GoogleMobileAds/GADCustomEventInterstitialDelegate.h> -#import <GoogleMobileAds/GADCustomEventNativeAd.h> -#import <GoogleMobileAds/GADCustomEventNativeAdDelegate.h> -#import <GoogleMobileAds/GADCustomEventParameters.h> -#import <GoogleMobileAds/GADCustomEventRequest.h> - -#import <GoogleMobileAds/GADDynamicHeightSearchRequest.h> -#import <GoogleMobileAds/GADSearchBannerView.h> -#import <GoogleMobileAds/GADSearchRequest.h> - -#import <GoogleMobileAds/GADAdReward.h> -#import <GoogleMobileAds/GADRewardBasedVideoAd.h> -#import <GoogleMobileAds/GADRewardBasedVideoAdDelegate.h> - -#import <GoogleMobileAds/Mediation/GADMAdNetworkAdapterProtocol.h> -#import <GoogleMobileAds/Mediation/GADMAdNetworkConnectorProtocol.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAdDelegate.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAdNotificationSource.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAppInstallAd.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeContentAd.h> -#import <GoogleMobileAds/Mediation/GADMediatedUnifiedNativeAd.h> -#import <GoogleMobileAds/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h> -#import <GoogleMobileAds/Mediation/GADMediationAdRequest.h> -#import <GoogleMobileAds/Mediation/GADMEnums.h> -#import <GoogleMobileAds/Mediation/GADMRewardBasedVideoAdNetworkAdapterProtocol.h> -#import <GoogleMobileAds/Mediation/GADMRewardBasedVideoAdNetworkConnectorProtocol.h> diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h deleted file mode 100644 index 4ba6e6e0ef..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// GoogleMobileAdsDefines.h -// Google Mobile Ads SDK -// -// Copyright (c) 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#if defined(__cplusplus) -#define GAD_EXTERN extern "C" __attribute__((visibility("default"))) -#else -#define GAD_EXTERN extern __attribute__((visibility("default"))) -#endif // defined(__cplusplus) - -#if defined(__has_feature) && defined(__has_attribute) -#if __has_feature(attribute_deprecated_with_message) -#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) -#elif __has_attribute(deprecated) -#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated)) -#else -#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) -#endif // __has_feature(attribute_deprecated_with_message) -#if __has_attribute(deprecated) -#define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated)) -#else -#define GAD_DEPRECATED_ATTRIBUTE -#endif // __has_attribute(deprecated) -#else -#define GAD_DEPRECATED_ATTRIBUTE -#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) -#endif // defined(__has_feature) && defined(__has_attribute) - -#ifndef IBInspectable -#define IBInspectable -#endif - -#if __has_feature(nullability) // Available starting in Xcode 6.3. -#define GAD_NULLABLE_TYPE __nullable -#define GAD_NONNULL_TYPE __nonnull -#define GAD_NULLABLE nullable -#define GAD_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN -#define GAD_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END -#else -#define GAD_NULLABLE_TYPE -#define GAD_NONNULL_TYPE -#define GAD_NULLABLE -#define GAD_ASSUME_NONNULL_BEGIN -#define GAD_ASSUME_NONNULL_END -#endif // __has_feature(nullability) - -#if __has_attribute(objc_boxable) // Available starting in Xcode 7.3. -#define GAD_BOXABLE __attribute__((objc_boxable)) -#else -#define GAD_BOXABLE -#endif // __has_attribute(objc_boxable) - -#if defined(NS_STRING_ENUM) // Available starting in Xcode 8.0. -#define GAD_STRING_ENUM NS_STRING_ENUM -#else -#define GAD_STRING_ENUM -#endif diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkAdapterProtocol.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkAdapterProtocol.h deleted file mode 100644 index a420efcbe2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkAdapterProtocol.h +++ /dev/null @@ -1,100 +0,0 @@ -// -// GADMAdNetworkAdapterProtocol.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> - -#import "GADMAdNetworkConnectorProtocol.h" -#import "GADMEnums.h" - -/// Subclasses should prefix their name with "GADMAdapter" example: GADMAdapterGoogleAdMobAds -#define kGADMAdapterClassNamePrefix @"GADMAdapter" - -@protocol GADMAdNetworkConnector; - -/// Ad network adapter protocol. -@protocol GADMAdNetworkAdapter<NSObject> - -/// Returns a version string for the adapter. It can be any string that uniquely identifies the -/// version of your adapter. For example, "1.0", or simply a date such as "20110915". -+ (NSString *)adapterVersion; - -/// The extras class that is used to specify additional parameters for a request to this ad network. -/// Returns Nil if the network does not have extra settings for publishers to send. -+ (Class<GADAdNetworkExtras>)networkExtrasClass; - -/// Designated initializer. Implementing classes can and should keep the connector in an instance -/// variable. However you must never retain the connector, as doing so will create a circular -/// reference and cause memory leaks. -- (instancetype)initWithGADMAdNetworkConnector:(id<GADMAdNetworkConnector>)connector; - -/// Asks the adapter to initiate a banner ad request. The adapter does not need to return anything. -/// The assumption is that the adapter will start an asynchronous ad fetch over the network. Your -/// adapter may act as a delegate to your SDK to listen to callbacks. If your SDK does not support -/// the given ad size, or does not support banner ads, call back to the adapter:didFailAd: method of -/// the connector. -- (void)getBannerWithSize:(GADAdSize)adSize; - -/// Asks the adapter to initiate an interstitial ad request. The adapter does not need to return -/// anything. The assumption is that the adapter will start an asynchronous ad fetch over the -/// network. Your adapter may act as a delegate to your SDK to listen to callbacks. If your SDK does -/// not support interstitials, call back to the adapter:didFailInterstitial: method of the -/// connector. -- (void)getInterstitial; - -/// When called, the adapter must remove itself as a delegate or notification observer from the -/// underlying ad network SDK. You should also call this method in your adapter dealloc, so when -/// your adapter goes away, your SDK will not call a freed object. This function should be -/// idempotent and should not crash regardless of when or how many times the method is called. -- (void)stopBeingDelegate; - -/// Present an interstitial using the supplied UIViewController, by calling -/// presentViewController:animated:completion:. -/// -/// Your interstitial should not immediately present itself when it is received. Instead, you should -/// wait until this method is called on your adapter to present the interstitial. -/// -/// Make sure to call adapterWillPresentInterstitial: on the connector when the interstitial is -/// about to be presented, and adapterWillDismissInterstitial: and adapterDidDismissInterstitial: -/// when the interstitial is being dismissed. -- (void)presentInterstitialFromRootViewController:(UIViewController *)rootViewController; - -@optional - -/// Starts request for a native ad. |adTypes| contains the list of native ad types requested. See -/// GADAdLoaderAdTypes.h for available ad types. |options| are any additional options configured by -/// the publisher for requesting a native ad. See GADNativeAdImageAdLoaderOptions.h for available -/// image options. When this method is called the receiver may start native ad request -/// asynchronously. On completion the receiver should notify the Google Mobile Ads SDK with a native -/// ad object using the receiver's connector method -/// adapter:didReceiveNativeAdDataSource:mediationDelegate or adapter:didFailAd: if the ad request -/// encountered an error. -- (void)getNativeAdWithAdTypes:(NSArray *)adTypes options:(NSArray *)options; - -/// Indicates if the adapter handles user clicks. If this method returns YES, the adapter must -/// handle user clicks and notify the Google Mobile Ads SDK of clicks using -/// +[GADMediatedNativeAdNotificationSource mediatedNativeAdDidRecordClick:]. If this method returns -/// NO, the Google Mobile Ads SDK handles user clicks and notifies the adapter of clicks using -/// -[GADMediatedNativeAdDelegate -/// mediatedNativeAd:didRecordClickOnAssetWithName:view:viewController:]. -- (BOOL)handlesUserClicks; - -/// Indicates if the adapter handles user impressions tracking. If this method returns YES, the -/// Google Mobile Ads SDK will not track user impressions and the adapter must notify the -/// Google Mobile Ads SDK of impressions using +[GADMediatedNativeAdNotificationSource -/// mediatedNativeAdDidRecordImpression:]. If this method returns NO, -/// the Google Mobile Ads SDK tracks user impressions and notifies the adapter of impressions -/// using -[GADMediatedNativeAdDelegate mediatedNativeAdDidRecordImpression:]. -- (BOOL)handlesUserImpressions; - -/// If your ad network handles multiple ad sizes for the same banner ad, implement this method to -/// know when the user changes the banner size. This is typically changing from -/// kGADAdSizeSmartBannerPortrait to kGADAdSizeSmartBannerLandscape, or vice versa. If this method -/// is not implemented, every time the user changes the ad size, a new ad will be requested with the -/// new size by calling your getBannerWithSize: method. -- (void)changeAdSizeTo:(GADAdSize)adSize; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkConnectorProtocol.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkConnectorProtocol.h deleted file mode 100644 index a020edf3df..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMAdNetworkConnectorProtocol.h +++ /dev/null @@ -1,99 +0,0 @@ -// -// GADMAdNetworkConnectorProtocol.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> -#import <UIKit/UIKit.h> - -#import "GADMediationAdRequest.h" - -@protocol GADMAdNetworkAdapter; - -/// Ad network adapters interact with the mediation SDK using an object that implements the -/// GADMAdNetworkConnector protocol. The connector object can be used to obtain necessary -/// information for ad requests, and to call back to the mediation SDK on ad request returns and -/// user interactions. -@protocol GADMAdNetworkConnector<GADMediationAdRequest> - -/// When you need to show a landing page or any other modal view, such as when a user clicks or when -/// your Ads SDK needs to show an interstitial, use this method to obtain a UIViewController that -/// you can use to show your modal view. Call the -presentViewController:animated:completion: method -/// of the returned UIViewController . -- (UIViewController *)viewControllerForPresentingModalView; - -/// Returns the preferred ad volume as a fraction of system volume (0.0 to 1.0). -- (float)adVolume; - -/// Returns whether the ad should be muted. -- (BOOL)adMuted; - -#pragma mark - Adapter Callbacks - -/// Tells the connector that the adapter failed to receive an ad. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter didFailAd:(NSError *)error; - -/// Tells the connector that the adapter received a banner ad. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter didReceiveAdView:(UIView *)view; - -/// Tells the connector that the adapter received an interstitial. -- (void)adapterDidReceiveInterstitial:(id<GADMAdNetworkAdapter>)adapter; - -/// Tells the connector that the adapter has received a mediated native ad. |mediatedNativeAd| is -/// used by the Google Mobile Ads SDK to construct a native ad object. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter - didReceiveMediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Tells the connector that the adapter has received a unified mediated native ad. -/// mediatedUnifiedNativeAd is used by the Google Mobile Ads SDK to construct a unified native ad -/// object. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter - didReceiveMediatedUnifiedNativeAd:(id<GADMediatedUnifiedNativeAd>)mediatedUnifiedNativeAd; - -#pragma mark Ad events - -// Adapter should call as many of these as possible, during the lifecycle of the loaded banner or -// interstitial ad. - -/// Tells the connector that the adapter recorded a user click. -- (void)adapterDidGetAdClick:(id<GADMAdNetworkAdapter>)adapter; -/// Tells the connector that the adapter will leave the application because of a user action. -- (void)adapterWillLeaveApplication:(id<GADMAdNetworkAdapter>)adapter; - -// Adapter should call as many of these as possible, during the lifecycle of the loaded banner ad. - -/// Tells the connector that the adapter will present a full screen modal. -- (void)adapterWillPresentFullScreenModal:(id<GADMAdNetworkAdapter>)adapter; -/// Tells the connector that the adapter will dismiss a full screen modal. -- (void)adapterWillDismissFullScreenModal:(id<GADMAdNetworkAdapter>)adapter; -/// Tells the connector that the adapter dismissed a full screen modal. -- (void)adapterDidDismissFullScreenModal:(id<GADMAdNetworkAdapter>)adapter; - -// Adapter should call these methods during the lifecycle of the loaded interstitial ad. - -/// Tells the connector that the adapter will present an interstitial. -- (void)adapterWillPresentInterstitial:(id<GADMAdNetworkAdapter>)adapter; -/// Tells the connector that the adapter will dismiss an interstitial. -- (void)adapterWillDismissInterstitial:(id<GADMAdNetworkAdapter>)adapter; -/// Tells the connector that the adapter did dismiss an interstitial. -- (void)adapterDidDismissInterstitial:(id<GADMAdNetworkAdapter>)adapter; - -#pragma mark Deprecated - -/// Deprecated. Use -adapterDidReceiveInterstitial:. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter - didReceiveInterstitial:(NSObject *)interstitial - GAD_DEPRECATED_MSG_ATTRIBUTE("Use -adapterDidReceiveInterstitial:."); - -/// Deprecated. Use -adapterDidGetAdClick:. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter - clickDidOccurInBanner:(UIView *)view - GAD_DEPRECATED_MSG_ATTRIBUTE("Use -adapterDidGetAdClick:."); - -/// Deprecated. Use -adapter:didFailAd:. -- (void)adapter:(id<GADMAdNetworkAdapter>)adapter - didFailInterstitial:(NSError *)error GAD_DEPRECATED_MSG_ATTRIBUTE("Use -adapter:didFailAd:"); - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMEnums.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMEnums.h deleted file mode 100644 index 1802598c2a..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMEnums.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// GADMEnums.h -// Google Mobile Ads SDK -// -// Copyright 2011 Google. All rights reserved. -// - -#import <Foundation/Foundation.h> - -/// These are the types of animation we employ for transitions between two mediated ads. -typedef NS_ENUM(NSInteger, GADMBannerAnimationType) { - kGADMBannerAnimationTypeNone = 0, ///< No animation. - kGADMBannerAnimationTypeFlipFromLeft = 1, ///< Flip from left. - kGADMBannerAnimationTypeFlipFromRight = 2, ///< Flip from right. - kGADMBannerAnimationTypeCurlUp = 3, ///< Curl up. - kGADMBannerAnimationTypeCurlDown = 4, ///< Curl down. - kGADMBannerAnimationTypeSlideFromLeft = 5, ///< Slide from left. - kGADMBannerAnimationTypeSlideFromRight = 6, ///< Slide from right. - kGADMBannerAnimationTypeFadeIn = 7, ///< Fade in. - kGADMBannerAnimationTypeRandom = 8, ///< Random animation. -}; diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkAdapterProtocol.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkAdapterProtocol.h deleted file mode 100644 index 6eb05f1c38..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkAdapterProtocol.h +++ /dev/null @@ -1,67 +0,0 @@ -// -// GADMRewardBasedVideoAdNetworkAdapter.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> - -@protocol GADMRewardBasedVideoAdNetworkConnector; - -/// Your adapter must conform to this protocol to provide reward based video ads. -@protocol GADMRewardBasedVideoAdNetworkAdapter<NSObject> - -/// Returns a version string for the adapter. It can be any string that uniquely identifies the -/// version of your adapter. For example, "1.0", or simply a date such as "20110915". -+ (NSString *)adapterVersion; - -/// The extras class that is used to specify additional parameters for a request to this ad network. -/// Returns Nil if the network does not have extra settings for publishers to send. -+ (Class<GADAdNetworkExtras>)networkExtrasClass; - -/// Returns an initialized instance of the adapter when mediation ad requests come in. The adapter -/// must only maintain a weak reference to the provided connector. -- (instancetype)initWithRewardBasedVideoAdNetworkConnector: - (id<GADMRewardBasedVideoAdNetworkConnector>)connector; - -/// Tells the adapter to set up reward based video ads. The adapter should notify the Google Mobile -/// Ads SDK whether set up has succeeded or failed using callbacks provided in the connector. When -/// set up fails, the Google Mobile Ads SDK may try to set up the adapter again. -- (void)setUp; - -/// Tells the adapter to request a reward based video ad. This method is called after the adapter -/// has been set up. The adapter should notify the Google Mobile Ads SDK if the request succeeds or -/// fails using callbacks provided in the connector. -- (void)requestRewardBasedVideoAd; - -/// Tells the adapter to present the reward based video ad with the provided view controller. This -/// method is only called after the adapter successfully requested an ad. -- (void)presentRewardBasedVideoAdWithRootViewController:(UIViewController *)viewController; - -/// Tells the adapter to remove itself as a delegate or notification observer from the underlying ad -/// network SDK. -- (void)stopBeingDelegate; - -@optional - -/// Adapters that want to be initialized as early as possible should implement this method to -/// opt-into initialization when the publisher initializes the Google Mobile Ads SDK. If not -/// implemented, initWithRewardBasedVideoAdNetworkConnector: gets called the first time the -/// publisher loads a rewarded video ad. -- (instancetype)initWithRewardBasedVideoAdNetworkConnector: - (id<GADMRewardBasedVideoAdNetworkConnector>)connector - credentials:(NSArray<NSDictionary *> *)credentials; - -/// Returns an initialized instance of the adapter. The adapter must only maintain a weak reference -/// to the provided connector. -- (instancetype)initWithGADMAdNetworkConnector:(id<GADMRewardBasedVideoAdNetworkConnector>)connector - GAD_DEPRECATED_MSG_ATTRIBUTE("Use initWithRewardBasedVideoAdNetworkConnector:."); - -/// Tells the adapter to set up reward based video ads with the provided user ID. The adapter should -/// notify the Google Mobile Ads SDK whether set up has succeeded or failed using callbacks provided -/// in the connector. When set up fails, the Google Mobile Ads SDK may try to set up the adapter -/// again. -- (void)setUpWithUserID:(NSString *)userID GAD_DEPRECATED_MSG_ATTRIBUTE("Use setUp."); - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkConnectorProtocol.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkConnectorProtocol.h deleted file mode 100644 index d23ec4e06d..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMRewardBasedVideoAdNetworkConnectorProtocol.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// GADMRewardBasedVideoAdNetworkConnector.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google. All rights reserved. -// - -#import <GoogleMobileAds/GoogleMobileAds.h> - -@protocol GADMediationAdRequest; -@protocol GADMRewardBasedVideoAdNetworkAdapter; - -/// Reward based video ad network adapters interact with the mediation SDK using an object that -/// conforms to the GADMRewardBasedVideoAdNetworkConnector protocol. The connector object can be -/// used to obtain information for ad requests and to call back to the mediation SDK on ad responses -/// and user interactions. -@protocol GADMRewardBasedVideoAdNetworkConnector<GADMediationAdRequest> - -/// Tells the delegate that the adapter successfully set up a reward based video ad. -- (void)adapterDidSetUpRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that the adapter failed to set up a reward based video ad. -- (void)adapter:(id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter - didFailToSetUpRewardBasedVideoAdWithError:(NSError *)error; - -/// Tells the delegate that a reward based video ad was clicked. -- (void)adapterDidGetAdClick:(id<GADMRewardBasedVideoAdNetworkAdapter>)adapter; - -/// Tells the delegate that a reward based video ad has loaded. -- (void)adapterDidReceiveRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that a reward based video ad has opened. -- (void)adapterDidOpenRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that a reward based video ad has started playing. -- (void)adapterDidStartPlayingRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that a reward based video ad has completed playing. -- (void)adapterDidCompletePlayingRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that a reward based video ad has closed. -- (void)adapterDidCloseRewardBasedVideoAd: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that the adapter has rewarded the user. -- (void)adapter:(id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAd - didRewardUserWithReward:(GADAdReward *)reward; - -/// Tells the delegate that a reward based video ad's action will leave the application. -- (void)adapterWillLeaveApplication: - (id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter; - -/// Tells the delegate that a reward based video ad failed to load. -- (void)adapter:(id<GADMRewardBasedVideoAdNetworkAdapter>)rewardBasedVideoAdAdapter - didFailToLoadRewardBasedVideoAdwithError:(NSError *)error; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAd.h deleted file mode 100644 index aa070ce0cf..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAd.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// GADMediatedNativeAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAdDelegate.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Base protocol for mediated native ads. -@protocol GADMediatedNativeAd<NSObject> - -/// Returns a delegate object that receives state change notifications. -- (nullable id<GADMediatedNativeAdDelegate>)mediatedNativeAdDelegate; - -/// Returns a dictionary of asset names and object pairs for assets that are not handled by -/// properties of the GADMediatedNativeAd subclass. -- (NSDictionary *GAD_NULLABLE_TYPE)extraAssets; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdDelegate.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdDelegate.h deleted file mode 100644 index f5b4391de2..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdDelegate.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// GADMediatedNativeAdDelegate.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <UIKit/UIKit.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -@protocol GADMediatedNativeAd; - -/// GADMediatedNativeAdDelegate objects handle mediated native ad events. -@protocol GADMediatedNativeAdDelegate<NSObject> - -@optional - -/// Tells the delegate that the mediated native ad has rendered in |view| with clickable asset views -/// and nonclickable asset views. viewController should be used to present modal views for the ad. -- (void)mediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd - didRenderInView:(UIView *)view - clickableAssetViews:(NSDictionary<NSString *, UIView *> *)clickableAssetViews - nonclickableAssetViews:(NSDictionary<NSString *, UIView *> *)nonclickableAssetViews - viewController:(UIViewController *)viewController; - -/// Tells the delegate that the mediated native ad has recorded an impression. This method is called -/// only once per mediated native ad. -- (void)mediatedNativeAdDidRecordImpression:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Tells the delegate that the mediated native ad has recorded a user click on the asset named -/// |assetName|. Full screen actions should be presented from |viewController|. This method is -/// called only if -[GADMAdNetworkAdapter handlesUserClicks] returns NO. -- (void)mediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd - didRecordClickOnAssetWithName:(NSString *)assetName - view:(UIView *)view - viewController:(UIViewController *)viewController; - -/// Tells the delegate that the mediated native ad has untracked |view|. This method is called -/// when the mediatedNativeAd is no longer rendered in the provided view and the delegate should -/// stop tracking the view's impressions and clicks. The method may also be called with a nil view -/// when the view in which the mediated native ad has rendered is deallocated. -- (void)mediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd - didUntrackView:(nullable UIView *)view; - -/// Tells the delegate that the mediated native ad has rendered in |view|. viewController should be -/// used to present modal views for the ad. -- (void)mediatedNativeAd:(id<GADMediatedNativeAd>)mediatedNativeAd - didRenderInView:(UIView *)view - viewController:(UIViewController *)viewController GAD_DEPRECATED_MSG_ATTRIBUTE( - "Use " - "-mediatedNativeAd:didRenderInView:clickableAssetViews:" - "nonclickableAssetViews:viewController instead."); - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdNotificationSource.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdNotificationSource.h deleted file mode 100644 index a2a1725a76..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAdNotificationSource.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// GADMediatedNativeAdNotificationSource.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Used by mediation adapters to notify the Google Mobile Ads SDK about events occurring in the -/// lifecycle of a GADMediatedNativeAd. -@interface GADMediatedNativeAdNotificationSource : NSObject - -/// Called by the adapter when it has registered an impression on the tracked view. Adapter should -/// only call this method if -[GADMAdNetworkAdapter handlesUserImpressions] returns YES. -+ (void)mediatedNativeAdDidRecordImpression:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when it has registered a user click on the tracked view. Adapter should -/// only call this method if -[GADMAdNetworkAdapter handlesUserClicks] returns YES. -+ (void)mediatedNativeAdDidRecordClick:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before mediatedNativeAd has opened an in-app modal screen. -+ (void)mediatedNativeAdWillPresentScreen:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before the in app modal screen opened by mediatedNativeAd is -/// dismissed. -+ (void)mediatedNativeAdWillDismissScreen:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter after the in app modal screen opened by mediatedNativeAd is -/// dismissed. -+ (void)mediatedNativeAdDidDismissScreen:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before mediatedNativeAd causes another app (such as a browser -/// or the App Store) to take input focus. -+ (void)mediatedNativeAdWillLeaveApplication:(id<GADMediatedNativeAd>)mediatedNativeAd; - -#pragma mark - Mediated Native Video Ad Notifications - -/// Called by the adapter when native video playback has begun or resumed. -+ (void)mediatedNativeAdDidPlayVideo:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when native video playback has paused. -+ (void)mediatedNativeAdDidPauseVideo:(id<GADMediatedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when native video playback has ended. -+ (void)mediatedNativeAdDidEndVideoPlayback:(id<GADMediatedNativeAd>)mediatedNativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAppInstallAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAppInstallAd.h deleted file mode 100644 index 4e9df1ab23..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeAppInstallAd.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// GADMediatedNativeAppInstallAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Provides methods used for constructing native app install ads. The adapter must return an object -/// conforming to this protocol for native app install requests. -@protocol GADMediatedNativeAppInstallAd<GADMediatedNativeAd> - -/// App title. -- (NSString *GAD_NULLABLE_TYPE)headline; - -/// Array of GADNativeAdImage objects related to the advertised application. -- (NSArray *GAD_NULLABLE_TYPE)images; - -/// App description. -- (NSString *GAD_NULLABLE_TYPE)body; - -/// Application icon. -- (GADNativeAdImage *GAD_NULLABLE_TYPE)icon; - -/// Text that encourages user to take some action with the ad. For example "Install". -- (NSString *GAD_NULLABLE_TYPE)callToAction; - -/// App store rating (0 to 5). -- (NSDecimalNumber *GAD_NULLABLE_TYPE)starRating; - -/// The app store name. For example, "App Store". -- (NSString *GAD_NULLABLE_TYPE)store; - -/// String representation of the app's price. -- (NSString *GAD_NULLABLE_TYPE)price; - -@optional - -/// AdChoices view. -- (UIView *GAD_NULLABLE_TYPE)adChoicesView; - -/// Media view. -- (UIView *GAD_NULLABLE_TYPE)mediaView; - -/// Returns YES if the ad has video content. -- (BOOL)hasVideoContent; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeContentAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeContentAd.h deleted file mode 100644 index bd15dbdbe0..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedNativeContentAd.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// GADMediatedNativeContentAd.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Provides methods used for constructing native content ads. -@protocol GADMediatedNativeContentAd<GADMediatedNativeAd> - -/// Primary text headline. -- (NSString *GAD_NULLABLE_TYPE)headline; - -/// Secondary text. -- (NSString *GAD_NULLABLE_TYPE)body; - -/// List of large images. Each object is an instance of GADNativeAdImage. -- (NSArray *GAD_NULLABLE_TYPE)images; - -/// Small logo image. -- (GADNativeAdImage *GAD_NULLABLE_TYPE)logo; - -/// Text that encourages user to take some action with the ad. -- (NSString *GAD_NULLABLE_TYPE)callToAction; - -/// Identifies the advertiser. For example, the advertiser’s name or visible URL. -- (NSString *GAD_NULLABLE_TYPE)advertiser; - -@optional - -/// AdChoices view. -- (UIView *GAD_NULLABLE_TYPE)adChoicesView; - -/// Media view. -- (UIView *GAD_NULLABLE_TYPE)mediaView; - -/// Returns YES if the ad has video content. -- (BOOL)hasVideoContent; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAd.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAd.h deleted file mode 100644 index aa8645d10b..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAd.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// GADMediatedUnifiedNativeAd.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GADNativeAdImage.h> -#import <GoogleMobileAds/GADUnifiedNativeAdAssetIdentifiers.h> -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Provides methods used for constructing native ads. The adapter must return an object conforming -/// to this protocol for native ad requests. -@protocol GADMediatedUnifiedNativeAd<NSObject> - -/// Headline. -@property(nonatomic, readonly, copy, nullable) NSString *headline; - -/// Array of GADNativeAdImage objects. -@property(nonatomic, readonly, nullable) NSArray<GADNativeAdImage *> *images; - -/// Description. -@property(nonatomic, readonly, copy, nullable) NSString *body; - -/// Icon image. -@property(nonatomic, readonly, nullable) GADNativeAdImage *icon; - -/// Text that encourages user to take some action with the ad. For example "Install". -@property(nonatomic, readonly, copy, nullable) NSString *callToAction; - -/// App store rating (0 to 5). -@property(nonatomic, readonly, copy, nullable) NSDecimalNumber *starRating; - -/// The app store name. For example, "App Store". -@property(nonatomic, readonly, copy, nullable) NSString *store; - -/// String representation of the app's price. -@property(nonatomic, readonly, copy, nullable) NSString *price; - -/// Identifies the advertiser. For example, the advertiser’s name or visible URL. -@property(nonatomic, readonly, copy, nullable) NSString *advertiser; - -/// Returns a dictionary of asset names and object pairs for assets that are not handled by -/// properties of the GADMediatedUnifiedNativeAd. -@property(nonatomic, readonly, copy, nullable) NSDictionary<NSString *, id> *extraAssets; - -@optional - -/// AdChoices view. -@property(nonatomic, readonly, nullable) UIView *adChoicesView; - -/// Media view. -@property(nonatomic, readonly, nullable) UIView *mediaView; - -/// Indicates whether the ad has video content. -@property(nonatomic, assign, readonly) BOOL hasVideoContent; - -/// Tells the receiver that it has been rendered in |view| with clickable asset views and -/// nonclickable asset views. viewController should be used to present modal views for the ad. -- (void)didRenderInView:(UIView *)view - clickableAssetViews: - (NSDictionary<GADUnifiedNativeAssetIdentifier, UIView *> *)clickableAssetViews - nonclickableAssetViews: - (NSDictionary<GADUnifiedNativeAssetIdentifier, UIView *> *)nonclickableAssetViews - viewController:(UIViewController *)viewController; - -/// Tells the receiver that an impression is recorded. This method is called only once per mediated -/// native ad. -- (void)didRecordImpression; - -/// Tells the receiver that a user click is recorded on the asset named |assetName|. Full screen -/// actions should be presented from viewController. This method is called only if -/// -[GADMAdNetworkAdapter handlesUserClicks] returns NO. -- (void)didRecordClickOnAssetWithName:(GADUnifiedNativeAssetIdentifier)assetName - view:(UIView *)view - viewController:(UIViewController *)viewController; - -/// Tells the receiver that it has untracked |view|. This method is called when the mediatedNativeAd -/// is no longer rendered in the provided view and the delegate should stop tracking the view's -/// impressions and clicks. The method may also be called with a nil view when the view in which the -/// mediated native ad has rendered is deallocated. -- (void)didUntrackView:(nullable UIView *)view; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h deleted file mode 100644 index d21d956822..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// GADMediatedUnifiedNativeAdNotificationSource.h -// Google Mobile Ads SDK -// -// Copyright 2017 Google Inc. All rights reserved. -// - -#import <Foundation/Foundation.h> - -#import <GoogleMobileAds/GoogleMobileAdsDefines.h> -#import <GoogleMobileAds/Mediation/GADMediatedUnifiedNativeAd.h> - -GAD_ASSUME_NONNULL_BEGIN - -/// Used by mediation adapters to notify the Google Mobile Ads SDK about events occurring in the -/// lifecycle of a GADMediatedUnifiedNativeAd. -@interface GADMediatedUnifiedNativeAdNotificationSource : NSObject - -/// Called by the adapter when it has registered an impression on the tracked view. Adapter should -/// only call this method if -[GADMAdNetworkAdapter handlesUserImpressions] returns YES. -+ (void)mediatedNativeAdDidRecordImpression:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when it has registered a user click on the tracked view. Adapter should -/// only call this method if -[GADMAdNetworkAdapter handlesUserClicks] returns YES. -+ (void)mediatedNativeAdDidRecordClick:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before mediatedNativeAd has opened an in-app modal screen. -+ (void)mediatedNativeAdWillPresentScreen:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before the in app modal screen opened by mediatedNativeAd is -/// dismissed. -+ (void)mediatedNativeAdWillDismissScreen:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter after the in app modal screen opened by mediatedNativeAd is -/// dismissed. -+ (void)mediatedNativeAdDidDismissScreen:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Must be called by the adapter just before mediatedNativeAd causes another app (such as a browser -/// or the App Store) to take input focus. -+ (void)mediatedNativeAdWillLeaveApplication:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -#pragma mark - Mediated Native Video Ad Notifications - -/// Called by the adapter when native video playback has begun or resumed. -+ (void)mediatedNativeAdDidPlayVideo:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when native video playback has paused. -+ (void)mediatedNativeAdDidPauseVideo:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -/// Called by the adapter when native video playback has ended. -+ (void)mediatedNativeAdDidEndVideoPlayback:(id<GADMediatedUnifiedNativeAd>)mediatedNativeAd; - -@end - -GAD_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdRequest.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdRequest.h deleted file mode 100644 index d8e0ad4861..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdRequest.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// GADMediationAdRequest.h -// Google Mobile Ads SDK -// -// Copyright 2015 Google. All rights reserved. -// - -#import <Foundation/Foundation.h> -#import <GoogleMobileAds/GoogleMobileAds.h> - -/// Provides information which can be used for making ad requests during mediation. -@protocol GADMediationAdRequest<NSObject> - -/// Publisher ID set by the publisher on the AdMob frontend. -- (NSString *)publisherId; - -/// Mediation configurations set by the publisher on the AdMob frontend. -- (NSDictionary *)credentials; - -/// Returns YES if the publisher is requesting test ads. -- (BOOL)testMode; - -/// The adapter's ad network extras specified in GADRequest. -- (id<GADAdNetworkExtras>)networkExtras; - -/// Returns the value of childDirectedTreatment supplied by the publisher. Returns nil if the -/// publisher hasn't specified child directed treatment. Returns @YES if child directed treatment is -/// enabled. -- (NSNumber *)childDirectedTreatment; - -/// Returns YES if the publisher has specified latitude and longitude location. -- (BOOL)userHasLocation; - -/// Returns the user's latitude or 0 if location isn't specified. -- (CGFloat)userLatitude; - -/// Returns the user's longitude or 0 if location isn't specified. -- (CGFloat)userLongitude; - -/// Returns the user's location accuracy or 0 if location isn't specified. -- (CGFloat)userLocationAccuracyInMeters; - -/// Returns user's location description. May return a value even if userHasLocation is NO. -- (NSString *)userLocationDescription; - -/// Keywords describing the user's current activity. Example: @"Sport Scores". -- (NSArray *)userKeywords; - -#pragma mark Deprecated - -/// Deprecated. The end user's gender set by the publisher in GADRequest. Returns kGADGenderUnknown -/// if it has not been specified. -- (GADGender)userGender GAD_DEPRECATED_ATTRIBUTE; - -/// Deprecated. The end user's birthday set by the publisher. Returns nil if it has not been -/// specified. -- (NSDate *)userBirthday GAD_DEPRECATED_ATTRIBUTE; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Modules/module.modulemap b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Modules/module.modulemap deleted file mode 100644 index dfee2822e0..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework/Modules/module.modulemap +++ /dev/null @@ -1,122 +0,0 @@ -framework module GoogleMobileAds { - umbrella header "GoogleMobileAds.h" - - export * - module * { export * } - - link framework "AdSupport" - link framework "AudioToolbox" - link framework "AVFoundation" - link framework "CFNetwork" - link framework "CoreGraphics" - link framework "CoreMedia" - link framework "CoreMotion" - link framework "CoreTelephony" - link framework "CoreVideo" - link framework "Foundation" - link framework "GLKit" - link framework "JavaScriptCore" - link framework "MediaPlayer" - link framework "MessageUI" - link framework "MobileCoreServices" - link framework "OpenGLES" - link framework "QuartzCore" - link framework "SafariServices" - link framework "Security" - link framework "StoreKit" - link framework "SystemConfiguration" - link framework "UIKit" - link framework "WebKit" - - header "GoogleMobileAdsDefines.h" - - header "GADAdNetworkExtras.h" - header "GADAdSize.h" - header "GADAudioVideoManagerDelegate.h" - header "GADAudioVideoManager.h" - header "GADBannerView.h" - header "GADBannerViewDelegate.h" - header "GADCorrelator.h" - header "GADCorrelatorAdLoaderOptions.h" - header "GADDebugOptionsViewController.h" - header "GADExtras.h" - header "GADInAppPurchase.h" - header "GADInAppPurchaseDelegate.h" - header "GADInterstitial.h" - header "GADInterstitialDelegate.h" - header "GADMediaView.h" - header "GADMobileAds.h" - header "GADNativeExpressAdView.h" - header "GADNativeExpressAdViewDelegate.h" - header "GADRequest.h" - header "GADRequestError.h" - header "GADVideoController.h" - header "GADVideoControllerDelegate.h" - header "GADVideoOptions.h" - - header "DFPBannerView.h" - header "DFPBannerViewOptions.h" - header "DFPCustomRenderedAd.h" - header "DFPCustomRenderedBannerViewDelegate.h" - header "DFPCustomRenderedInterstitialDelegate.h" - header "DFPInterstitial.h" - header "DFPRequest.h" - header "GADAdSizeDelegate.h" - header "GADAppEventDelegate.h" - - header "GADAdLoader.h" - header "GADAdLoaderAdTypes.h" - header "GADAdLoaderDelegate.h" - - header "GADAdChoicesView.h" - header "GADNativeAd.h" - header "GADNativeAdDelegate.h" - header "GADNativeAdImage.h" - header "GADNativeAdImage+Mediation.h" - header "GADNativeAppInstallAd.h" - header "GADNativeAppInstallAdAssetIDs.h" - header "GADNativeContentAd.h" - header "GADNativeContentAdAssetIDs.h" - header "GADNativeCustomTemplateAd.h" - header "GADUnifiedNativeAd.h" - header "GADUnifiedNativeAd+ConfirmationClick.h" - header "GADUnifiedNativeAdAssetIdentifiers.h" - header "GADUnifiedNativeAdDelegate.h" - header "GADUnifiedNativeAdUnconfirmedClickDelegate.h" - - header "GADMultipleAdsAdLoaderOptions.h" - header "GADNativeAdImageAdLoaderOptions.h" - header "GADNativeAdViewAdOptions.h" - - header "GADCustomEventBanner.h" - header "GADCustomEventBannerDelegate.h" - header "GADCustomEventExtras.h" - header "GADCustomEventInterstitial.h" - header "GADCustomEventInterstitialDelegate.h" - header "GADCustomEventNativeAd.h" - header "GADCustomEventNativeAdDelegate.h" - header "GADCustomEventParameters.h" - header "GADCustomEventRequest.h" - - header "GADDynamicHeightSearchRequest.h" - header "GADSearchBannerView.h" - header "GADSearchRequest.h" - - header "GADAdReward.h" - header "GADRewardBasedVideoAd.h" - header "GADRewardBasedVideoAdDelegate.h" - - header "Mediation/GADMAdNetworkAdapterProtocol.h" - header "Mediation/GADMAdNetworkConnectorProtocol.h" - header "Mediation/GADMediatedNativeAd.h" - header "Mediation/GADMediatedNativeAdDelegate.h" - header "Mediation/GADMediatedNativeAdNotificationSource.h" - header "Mediation/GADMediatedNativeAppInstallAd.h" - header "Mediation/GADMediatedNativeContentAd.h" - header "Mediation/GADMediatedUnifiedNativeAd.h" - header "Mediation/GADMediatedUnifiedNativeAdNotificationSource.h" - header "Mediation/GADMediationAdRequest.h" - header "Mediation/GADMEnums.h" - header "Mediation/GADMRewardBasedVideoAdNetworkAdapterProtocol.h" - header "Mediation/GADMRewardBasedVideoAdNetworkConnectorProtocol.h" -} diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.h b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.h deleted file mode 100755 index 1d775e1eff..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.h +++ /dev/null @@ -1,9 +0,0 @@ -@import UIKit; - -@interface UIView (MPGoogleAdMobAdditions) - -/// Adds constraints to the receiver's superview that keep the receiver the same size and position -/// as the superview. -- (void)gad_fillSuperview; - -@end diff --git a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.m b/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.m deleted file mode 100755 index 14671a9e58..0000000000 --- a/iphone/Maps/3party/MoPubSDK/AdNetworkSupport/AdMob/UIView+MPGoogleAdMobAdditions.m +++ /dev/null @@ -1,60 +0,0 @@ -#import "UIView+MPGoogleAdMobAdditions.h" - -@implementation UIView (MPGoogleAdMobAdditions) -/// Adds constraints to the receiver's superview that keep the receiver centered in the superview. -- (void)gad_centerInSuperview { - UIView *superview = self.superview; - if (!superview) { - return; - } - - self.translatesAutoresizingMaskIntoConstraints = NO; - - [superview addConstraint:[NSLayoutConstraint constraintWithItem:self - attribute:NSLayoutAttributeCenterX - relatedBy:NSLayoutRelationEqual - toItem:superview - attribute:NSLayoutAttributeCenterX - multiplier:1 - constant:0]]; - [superview addConstraint:[NSLayoutConstraint constraintWithItem:self - attribute:NSLayoutAttributeCenterY - relatedBy:NSLayoutRelationEqual - toItem:superview - attribute:NSLayoutAttributeCenterY - multiplier:1 - constant:0]]; -} - -/// Adds constraints to the receiver's superview that keep the receiver the same size as the -/// superview. -- (void)gad_matchSuperviewSize { - UIView *superview = self.superview; - if (!superview) { - return; - } - - self.translatesAutoresizingMaskIntoConstraints = NO; - - [superview addConstraint:[NSLayoutConstraint constraintWithItem:self - attribute:NSLayoutAttributeWidth - relatedBy:NSLayoutRelationEqual - toItem:superview - attribute:NSLayoutAttributeWidth - multiplier:1 - constant:0]]; - [superview addConstraint:[NSLayoutConstraint constraintWithItem:self - attribute:NSLayoutAttributeHeight - relatedBy:NSLayoutRelationEqual - toItem:superview - attribute:NSLayoutAttributeHeight - multiplier:1 - constant:0]]; -} - -- (void)gad_fillSuperview { - [self gad_centerInSuperview]; - [self gad_matchSuperviewSize]; -} - -@end diff --git a/iphone/Maps/3party/MoPubSDK/Mopub.xcodeproj/project.pbxproj b/iphone/Maps/3party/MoPubSDK/Mopub.xcodeproj/project.pbxproj index 3c54a521d7..09da916428 100644 --- a/iphone/Maps/3party/MoPubSDK/Mopub.xcodeproj/project.pbxproj +++ b/iphone/Maps/3party/MoPubSDK/Mopub.xcodeproj/project.pbxproj @@ -184,14 +184,6 @@ 45A37B9320B33D63005FBDBB /* FacebookRewardedVideoCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B7320B33D63005FBDBB /* FacebookRewardedVideoCustomEvent.m */; }; 45A37B9420B33D63005FBDBB /* FacebookNativeAdAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B7420B33D63005FBDBB /* FacebookNativeAdAdapter.m */; }; 45A37B9520B33D63005FBDBB /* FacebookBannerCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B7920B33D63005FBDBB /* FacebookBannerCustomEvent.m */; }; - 45A37B9620B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8120B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.m */; }; - 45A37B9720B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8220B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.m */; }; - 45A37B9820B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8620B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.m */; }; - 45A37B9920B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8920B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.m */; }; - 45A37B9A20B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8C20B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.m */; }; - 45A37B9B20B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8D20B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.m */; }; - 45A37B9C20B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 45A37B8E20B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.m */; }; - EBDA7B7620B35AF30054165B /* GoogleMobileAds.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBDA7B7120B356270054165B /* GoogleMobileAds.framework */; }; EBDA7B7720B35B0E0054165B /* FBAudienceNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45A37BA320B33FC1005FBDBB /* FBAudienceNetwork.framework */; }; /* End PBXBuildFile section */ @@ -620,26 +612,7 @@ 45A37B7920B33D63005FBDBB /* FacebookBannerCustomEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FacebookBannerCustomEvent.m; sourceTree = "<group>"; }; 45A37B7A20B33D63005FBDBB /* FacebookNativeAdAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FacebookNativeAdAdapter.h; sourceTree = "<group>"; }; 45A37B7B20B33D63005FBDBB /* FacebookRewardedVideoCustomEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FacebookRewardedVideoCustomEvent.h; sourceTree = "<group>"; }; - 45A37B7E20B33D63005FBDBB /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; }; - 45A37B7F20B33D63005FBDBB /* MoPub-AdMob-Adapters.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "MoPub-AdMob-Adapters.podspec"; sourceTree = "<group>"; }; - 45A37B8020B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobBannerCustomEvent.h; sourceTree = "<group>"; }; - 45A37B8120B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobNativeAdAdapter.m; sourceTree = "<group>"; }; - 45A37B8220B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobNativeCustomEvent.m; sourceTree = "<group>"; }; - 45A37B8320B33D63005FBDBB /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; }; - 45A37B8420B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+MPGoogleAdMobAdditions.h"; sourceTree = "<group>"; }; - 45A37B8520B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobNativeRenderer.h; sourceTree = "<group>"; }; - 45A37B8620B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobRewardedVideoCustomEvent.m; sourceTree = "<group>"; }; - 45A37B8720B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobInterstitialCustomEvent.h; sourceTree = "<group>"; }; - 45A37B8820B33D63005FBDBB /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; - 45A37B8920B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobBannerCustomEvent.m; sourceTree = "<group>"; }; - 45A37B8A20B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobNativeCustomEvent.h; sourceTree = "<group>"; }; - 45A37B8B20B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobNativeAdAdapter.h; sourceTree = "<group>"; }; - 45A37B8C20B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobNativeRenderer.m; sourceTree = "<group>"; }; - 45A37B8D20B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+MPGoogleAdMobAdditions.m"; sourceTree = "<group>"; }; - 45A37B8E20B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPGoogleAdMobInterstitialCustomEvent.m; sourceTree = "<group>"; }; - 45A37B8F20B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPGoogleAdMobRewardedVideoCustomEvent.h; sourceTree = "<group>"; }; 45A37BA320B33FC1005FBDBB /* FBAudienceNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = FBAudienceNetwork.framework; sourceTree = "<group>"; }; - EBDA7B7120B356270054165B /* GoogleMobileAds.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = GoogleMobileAds.framework; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -648,7 +621,6 @@ buildActionMask = 2147483647; files = ( EBDA7B7720B35B0E0054165B /* FBAudienceNetwork.framework in Frameworks */, - EBDA7B7620B35AF30054165B /* GoogleMobileAds.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -714,7 +686,6 @@ 34F4075E1E9E1DA400E57AC0 /* AdNetworkSupport */ = { isa = PBXGroup; children = ( - 45A37B7C20B33D63005FBDBB /* AdMob */, 45A37B6A20B33D63005FBDBB /* FacebookAudienceNetwork */, ); path = AdNetworkSupport; @@ -1260,40 +1231,6 @@ path = "MoPub-FacebookAudienceNetwork-Podspecs"; sourceTree = "<group>"; }; - 45A37B7C20B33D63005FBDBB /* AdMob */ = { - isa = PBXGroup; - children = ( - EBDA7B7020B356270054165B /* SDK */, - 45A37B7D20B33D63005FBDBB /* MoPub-AdMob-PodSpecs */, - 45A37B8020B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.h */, - 45A37B8120B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.m */, - 45A37B8220B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.m */, - 45A37B8320B33D63005FBDBB /* CHANGELOG.md */, - 45A37B8420B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.h */, - 45A37B8520B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.h */, - 45A37B8620B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.m */, - 45A37B8720B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.h */, - 45A37B8820B33D63005FBDBB /* README.md */, - 45A37B8920B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.m */, - 45A37B8A20B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.h */, - 45A37B8B20B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.h */, - 45A37B8C20B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.m */, - 45A37B8D20B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.m */, - 45A37B8E20B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.m */, - 45A37B8F20B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.h */, - ); - path = AdMob; - sourceTree = "<group>"; - }; - 45A37B7D20B33D63005FBDBB /* MoPub-AdMob-PodSpecs */ = { - isa = PBXGroup; - children = ( - 45A37B7E20B33D63005FBDBB /* LICENSE */, - 45A37B7F20B33D63005FBDBB /* MoPub-AdMob-Adapters.podspec */, - ); - path = "MoPub-AdMob-PodSpecs"; - sourceTree = "<group>"; - }; 45A37BA220B33FC1005FBDBB /* SDK */ = { isa = PBXGroup; children = ( @@ -1302,14 +1239,6 @@ path = SDK; sourceTree = "<group>"; }; - EBDA7B7020B356270054165B /* SDK */ = { - isa = PBXGroup; - children = ( - EBDA7B7120B356270054165B /* GoogleMobileAds.framework */, - ); - path = SDK; - sourceTree = "<group>"; - }; EBDA7B7520B35AF30054165B /* Frameworks */ = { isa = PBXGroup; children = ( @@ -1358,6 +1287,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = 34F407431E9E1D3500E57AC0; @@ -1414,7 +1344,6 @@ 45A37B3D20B3395E005FBDBB /* MPAnalyticsTracker.m in Sources */, 45A37ACE20B3395D005FBDBB /* MPStreamAdPlacementData.m in Sources */, 45A37ADE20B3395D005FBDBB /* MPTableViewCellImpressionTracker.m in Sources */, - 45A37B9620B33D63005FBDBB /* MPGoogleAdMobNativeAdAdapter.m in Sources */, 45A37AB420B3395D005FBDBB /* MPWebView+Viewability.m in Sources */, 45A37B4520B3395E005FBDBB /* NSBundle+MPAdditions.m in Sources */, 45A37AF920B3395D005FBDBB /* MoPub.m in Sources */, @@ -1430,14 +1359,12 @@ 45A37B2F20B3395D005FBDBB /* MRExpandModalViewController.m in Sources */, 45A37AF020B3395D005FBDBB /* MPRewardedVideoReward.m in Sources */, 45A37B0E20B3395D005FBDBB /* MPAdServerCommunicator.m in Sources */, - 45A37B9C20B33D63005FBDBB /* MPGoogleAdMobInterstitialCustomEvent.m in Sources */, 45A37B1720B3395D005FBDBB /* MPCountdownTimerView.m in Sources */, 45A37B3420B3395D005FBDBB /* MPSessionTracker.m in Sources */, 45A37B0C20B3395D005FBDBB /* MPAPIEndpoints.m in Sources */, 45A37B0620B3395D005FBDBB /* MPCoreInstanceProvider.m in Sources */, 45A37B9220B33D63005FBDBB /* FacebookAdvancedBidder.m in Sources */, 45A37B5720B3395E005FBDBB /* MPVASTInline.m in Sources */, - 45A37B9A20B33D63005FBDBB /* MPGoogleAdMobNativeRenderer.m in Sources */, 45A37B9420B33D63005FBDBB /* FacebookNativeAdAdapter.m in Sources */, 45A37ADB20B3395D005FBDBB /* MPNativeAdSourceQueue.m in Sources */, 45A37B3320B3395D005FBDBB /* MPAdvancedBiddingManager.m in Sources */, @@ -1447,11 +1374,9 @@ 45A37AFE20B3395D005FBDBB /* MPInterstitialAdManager.m in Sources */, 45A37AC620B3395D005FBDBB /* MPNativeCustomEvent.m in Sources */, 45A37ACB20B3395D005FBDBB /* MPStaticNativeAdRendererSettings.m in Sources */, - 45A37B9B20B33D63005FBDBB /* UIView+MPGoogleAdMobAdditions.m in Sources */, 45A37AE720B3395D005FBDBB /* MPNativeAd.m in Sources */, 45A37B1220B3395D005FBDBB /* MPLastResortDelegate.m in Sources */, 45A37AE420B3395D005FBDBB /* MPNativeAdRendererConfiguration.m in Sources */, - 45A37B9820B33D63005FBDBB /* MPGoogleAdMobRewardedVideoCustomEvent.m in Sources */, 45A37B3B20B3395E005FBDBB /* MPReachability.m in Sources */, 45A37AF420B3395D005FBDBB /* MPInterstitialAdController.m in Sources */, 45A37B4A20B3395E005FBDBB /* UIView+MPAdditions.m in Sources */, @@ -1476,7 +1401,6 @@ 45A37ADA20B3395D005FBDBB /* MPAdPlacerInvocation.m in Sources */, 45A37B4B20B3395E005FBDBB /* NSString+MPConsentStatus.m in Sources */, 45A37AE920B3395D005FBDBB /* MPClientAdPositioning.m in Sources */, - 45A37B9720B33D63005FBDBB /* MPGoogleAdMobNativeCustomEvent.m in Sources */, 45A37B0720B3395D005FBDBB /* MPBannerAdManager.m in Sources */, 45A37B4E20B3395E005FBDBB /* MPVASTAd.m in Sources */, 45A37ABB20B3395D005FBDBB /* MOPUBPlayerView.m in Sources */, @@ -1554,7 +1478,6 @@ 45A37AFD20B3395D005FBDBB /* MPInterstitialViewController.m in Sources */, 45A37AF520B3395D005FBDBB /* MPConsentChangedNotification.m in Sources */, 45A37B2B20B3395D005FBDBB /* MPMRAIDInterstitialCustomEvent.m in Sources */, - 45A37B9920B33D63005FBDBB /* MPGoogleAdMobBannerCustomEvent.m in Sources */, 45A37B2620B3395D005FBDBB /* MRBridge.m in Sources */, 45A37B5620B3395E005FBDBB /* MPVASTIndustryIcon.m in Sources */, 45A37AF820B3395D005FBDBB /* MPInterstitialCustomEvent.m in Sources */, diff --git a/iphone/Maps/Core/Ads/BannerType.swift b/iphone/Maps/Core/Ads/BannerType.swift index aa1ec5f7db..bd12dd260e 100644 --- a/iphone/Maps/Core/Ads/BannerType.swift +++ b/iphone/Maps/Core/Ads/BannerType.swift @@ -3,7 +3,6 @@ enum BannerType { case facebook(String) case rb(String) case mopub(String) - case google(String, String) var banner: Banner? { switch self { @@ -11,7 +10,6 @@ enum BannerType { case let .facebook(id): return FacebookBanner(bannerID: id) case let .rb(id): return RBBanner(bannerID: id) case let .mopub(id): return MopubBanner(bannerID: id) - case let .google(id, query): return GoogleFallbackBanner(bannerID: id, query: query) } } @@ -21,7 +19,6 @@ enum BannerType { case .facebook: return .facebook case .rb: return .rb case .mopub: return .mopub - case .google: return .google } } @@ -31,7 +28,6 @@ enum BannerType { case .facebook: self = .facebook(id) case .rb: self = .rb(id) case .mopub: self = .mopub(id) - case .google: self = .google(id, query) } } } @@ -43,12 +39,10 @@ extension BannerType: Equatable { case let (.facebook(l), .facebook(r)): return l == r case let (.rb(l), .rb(r)): return l == r case let (.mopub(l), .mopub(r)): return l == r - case let (.google(l1, l2), .google(r1, r2)): return l1 == r1 && l2 == r2 case (.none, _), (.facebook, _), (.rb, _), - (.mopub, _), - (.google, _): return false + (.mopub, _): return false } } } @@ -60,7 +54,6 @@ extension BannerType: Hashable { case let .facebook(id): return mwmType.hashValue ^ id.hashValue case let .rb(id): return mwmType.hashValue ^ id.hashValue case let .mopub(id): return mwmType.hashValue ^ id.hashValue - case let .google(id, query): return mwmType.hashValue ^ id.hashValue ^ query.hashValue } } } diff --git a/iphone/Maps/Core/Ads/CoreBanner.swift b/iphone/Maps/Core/Ads/CoreBanner.swift index 91a5ed2324..030ca87b0b 100644 --- a/iphone/Maps/Core/Ads/CoreBanner.swift +++ b/iphone/Maps/Core/Ads/CoreBanner.swift @@ -17,7 +17,6 @@ final class CoreBanner: NSObject, MWMBanner { case .facebook: type = "facebook" case .rb: type = "rb" case .mopub: type = "mopub" - case .google: type = "google" } return "Type: <\(type)> | id: <\(bannerID)> | query: <\(query)>" } diff --git a/iphone/Maps/Core/Ads/Google/GoogleFallbackBanner.swift b/iphone/Maps/Core/Ads/Google/GoogleFallbackBanner.swift deleted file mode 100644 index 05e56e67f2..0000000000 --- a/iphone/Maps/Core/Ads/Google/GoogleFallbackBanner.swift +++ /dev/null @@ -1,137 +0,0 @@ -import GoogleMobileAds - -@objc(MWMGoogleFallbackBannerDynamicSizeDelegate) -protocol GoogleFallbackBannerDynamicSizeDelegate { - func dynamicSizeUpdated(banner: GoogleFallbackBanner) -} - -@objc(MWMGoogleFallbackBanner) -final class GoogleFallbackBanner: GADSearchBannerView, Banner { - private enum Limits { - static let minTimeSinceLastRequest: TimeInterval = 5 - } - - fileprivate var success: Banner.Success! - fileprivate var failure: Banner.Failure! - fileprivate var click: Banner.Click! - - private var requestDate: Date? - var isBannerOnScreen: Bool = false - var isNeedToRetain: Bool { return true } - var isPossibleToReload: Bool { - if let date = requestDate { - return Date().timeIntervalSince(date) > Limits.minTimeSinceLastRequest - } - return true - } - var type: BannerType { return .google(bannerID, query) } - var mwmType: MWMBannerType { return type.mwmType } - var bannerID: String! { return adUnitID } - var statisticsDescription: [String: String] { - return [kStatBanner: bannerID, kStatProvider: kStatGoogle] - } - let query: String - - @objc var dynamicSizeDelegate: GoogleFallbackBannerDynamicSizeDelegate? - fileprivate(set) var dynamicSize = CGSize.zero { - didSet { - dynamicSizeDelegate?.dynamicSizeUpdated(banner: self) - } - } - @objc var cellIndexPath: IndexPath! - - init(bannerID: String, query: String) { - self.query = query - super.init(adSize: kGADAdSizeFluid) - adUnitID = bannerID - frame = CGRect.zero - - delegate = self - adSizeDelegate = self - } - - required init?(coder _: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - func reload(success: @escaping Success, failure: @escaping Failure, click: @escaping Click) { - self.success = success - self.failure = failure - self.click = click - - let searchRequest = GADDynamicHeightSearchRequest() - searchRequest.query = query - searchRequest.numberOfAds = 1 - if let loc = MWMLocationManager.lastLocation() { - searchRequest.setLocationWithLatitude(CGFloat(loc.coordinate.latitude), - longitude: CGFloat(loc.coordinate.longitude), - accuracy: CGFloat(loc.horizontalAccuracy)) - } - searchRequest.cssWidth = "100%" - let isNightMode = UIColor.isNightMode() - searchRequest.adBorderCSSSelections = "bottom" - searchRequest.adBorderColor = isNightMode ? "#53575A" : "#E0E0E0" - searchRequest.adjustableLineHeight = 18 - searchRequest.annotationFontSize = 12 - searchRequest.annotationTextColor = isNightMode ? "#C8C9CA" : "#75726D" - searchRequest.attributionBottomSpacing = 4 - searchRequest.attributionFontSize = 12 - searchRequest.attributionTextColor = isNightMode ? "#C8C9CA" : "#75726D" - searchRequest.backgroundColor = isNightMode ? "#484B50" : "#FFF9EF" - searchRequest.boldTitleEnabled = true - searchRequest.clickToCallExtensionEnabled = true - searchRequest.descriptionFontSize = 12 - searchRequest.domainLinkColor = isNightMode ? "#51B5E6" : "#1E96F0" - searchRequest.domainLinkFontSize = 12 - searchRequest.locationExtensionEnabled = true - searchRequest.locationExtensionFontSize = 12 - searchRequest.locationExtensionTextColor = isNightMode ? "#C8C9CA" : "#75726D" - searchRequest.sellerRatingsExtensionEnabled = false - searchRequest.siteLinksExtensionEnabled = false - searchRequest.textColor = isNightMode ? "#C8C9CA" : "#75726D" - searchRequest.titleFontSize = 12 - searchRequest.titleLinkColor = isNightMode ? "#FFFFFF" : "#21201E" - searchRequest.titleUnderlineHidden = true - - load(searchRequest) - requestDate = Date() - } - - func unregister() {} - - static func ==(lhs: GoogleFallbackBanner, rhs: GoogleFallbackBanner) -> Bool { - return lhs.adUnitID == rhs.adUnitID && lhs.query == rhs.query - } -} - -extension GoogleFallbackBanner: GADBannerViewDelegate { - func adViewDidReceiveAd(_ bannerView: GADBannerView) { - guard let banner = bannerView as? GoogleFallbackBanner, banner == self else { return } - success(self) - } - - func adView(_ bannerView: GADBannerView, didFailToReceiveAdWithError error: GADRequestError) { - guard let banner = bannerView as? GoogleFallbackBanner, banner == self else { return } - var params: [String: Any] = statisticsDescription - params[kStatErrorCode] = error.code - - failure(type, kStatPlacePageBannerError, params, error) - } - - func adViewWillPresentScreen(_: GADBannerView) { - click(self) - } - - func adViewWillLeaveApplication(_: GADBannerView) { - click(self) - } -} - -extension GoogleFallbackBanner: GADAdSizeDelegate { - func adView(_: GADBannerView, willChangeAdSizeTo size: GADAdSize) { - var newFrame = frame - newFrame.size.height = size.size.height - frame = newFrame - dynamicSize = size.size - } -} diff --git a/iphone/Maps/Core/Ads/Google/GoogleNativeBanner.swift b/iphone/Maps/Core/Ads/Google/GoogleNativeBanner.swift deleted file mode 100644 index bef821b460..0000000000 --- a/iphone/Maps/Core/Ads/Google/GoogleNativeBanner.swift +++ /dev/null @@ -1,90 +0,0 @@ -import GoogleMobileAds - -final class GoogleNativeBanner: NSObject, Banner { - private enum Limits { - static let minTimeSinceLastRequest: TimeInterval = 5 - } - - fileprivate var success: Banner.Success! - fileprivate var failure: Banner.Failure! - fileprivate var click: Banner.Click! - - private var requestDate: Date? - var isBannerOnScreen: Bool = false - var isNeedToRetain: Bool { return true } - var isPossibleToReload: Bool { - if let date = requestDate { - return Date().timeIntervalSince(date) > Limits.minTimeSinceLastRequest - } - return true - } - var type: BannerType { return .google(bannerID, query) } - var mwmType: MWMBannerType { return type.mwmType } - var bannerID: String! { return adLoader.adUnitID } - var statisticsDescription: [String: String] { - return [kStatBanner: bannerID, kStatProvider: kStatGoogle] - } - private let query: String - private let adLoader: GADAdLoader - - fileprivate var nativeAd: GADNativeAd! - - init(bannerID _: String, query: String) { - self.query = query - adLoader = GADAdLoader(adUnitID: "ca-app-pub-6656946757675080/8014770099", - rootViewController: UIViewController.topViewController(), - adTypes: [GADAdLoaderAdType.nativeAppInstall, GADAdLoaderAdType.nativeContent], - options: nil) - super.init() - adLoader.delegate = self - } - - func reload(success: @escaping Success, failure: @escaping Failure, click: @escaping Click) { - self.success = success - self.failure = failure - self.click = click - - let request = GADSearchRequest() - request.testDevices = [kGADSimulatorID] - request.query = query - if let loc = MWMLocationManager.lastLocation() { - request.setLocationWithLatitude(CGFloat(loc.coordinate.latitude), - longitude: CGFloat(loc.coordinate.longitude), - accuracy: CGFloat(loc.horizontalAccuracy)) - } - - adLoader.load(request) - requestDate = Date() - } - - func unregister() { - switch nativeAd { - case let nativeAppInstallAd as GADNativeAppInstallAd: nativeAppInstallAd.unregisterAdView() - case let nativeContentAd as GADNativeContentAd: nativeContentAd.unregisterAdView() - default: assert(false) - } - } -} - -extension GoogleNativeBanner: GADAdLoaderDelegate { - func adLoader(_: GADAdLoader, didFailToReceiveAdWithError error: GADRequestError) { - var params: [String: Any] = statisticsDescription - params[kStatErrorCode] = error.code - - failure(type, kStatPlacePageBannerError, params, error) - } -} - -extension GoogleNativeBanner: GADNativeAppInstallAdLoaderDelegate { - func adLoader(_: GADAdLoader, didReceive nativeAppInstallAd: GADNativeAppInstallAd) { - nativeAd = nativeAppInstallAd - success(self) - } -} - -extension GoogleNativeBanner: GADNativeContentAdLoaderDelegate { - func adLoader(_: GADAdLoader, didReceive nativeContentAd: GADNativeContentAd) { - nativeAd = nativeContentAd - success(self) - } -} diff --git a/iphone/Maps/Core/Ads/MWMBanner.h b/iphone/Maps/Core/Ads/MWMBanner.h index b16f1912e9..16e3005332 100644 --- a/iphone/Maps/Core/Ads/MWMBanner.h +++ b/iphone/Maps/Core/Ads/MWMBanner.h @@ -2,8 +2,7 @@ typedef NS_ENUM(NSInteger, MWMBannerType) { MWMBannerTypeNone, MWMBannerTypeFacebook, MWMBannerTypeRb, - MWMBannerTypeMopub, - MWMBannerTypeGoogle + MWMBannerTypeMopub }; @protocol MWMBanner <NSObject> diff --git a/iphone/Maps/Core/Ads/MWMBannerHelpers.h b/iphone/Maps/Core/Ads/MWMBannerHelpers.h index a4000339bb..a97c8b6bbf 100644 --- a/iphone/Maps/Core/Ads/MWMBannerHelpers.h +++ b/iphone/Maps/Core/Ads/MWMBannerHelpers.h @@ -15,7 +15,6 @@ static inline MWMBannerType MatchBannerType(ads::Banner::Type coreType) case ads::Banner::Type::Facebook: return MWMBannerTypeFacebook; case ads::Banner::Type::RB: return MWMBannerTypeRb; case ads::Banner::Type::Mopub: return MWMBannerTypeMopub; - case ads::Banner::Type::Google: return MWMBannerTypeGoogle; } } diff --git a/iphone/Maps/Core/Search/MWMSearchItemType.h b/iphone/Maps/Core/Search/MWMSearchItemType.h index f6fa223d39..77bd68e899 100644 --- a/iphone/Maps/Core/Search/MWMSearchItemType.h +++ b/iphone/Maps/Core/Search/MWMSearchItemType.h @@ -3,6 +3,5 @@ typedef NS_ENUM(NSUInteger, MWMSearchItemType) { MWMSearchItemTypeRegular, MWMSearchItemTypeMopub, MWMSearchItemTypeFacebook, - MWMSearchItemTypeGoogle, MWMSearchItemTypeSuggestion }; diff --git a/iphone/Maps/Core/Search/SearchBanners.swift b/iphone/Maps/Core/Search/SearchBanners.swift index 2f27fe7836..a395fd6c53 100644 --- a/iphone/Maps/Core/Search/SearchBanners.swift +++ b/iphone/Maps/Core/Search/SearchBanners.swift @@ -21,9 +21,6 @@ final class SearchBanners: NSObject { case .facebook: type = .facebook prefferedPosition = 2 - case .google: - type = .google - prefferedPosition = 4 default: assert(false, "Unsupported banner type") type = .regular diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj index a17bcd5fa4..031dfb92ef 100644 --- a/iphone/Maps/Maps.xcodeproj/project.pbxproj +++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj @@ -74,7 +74,6 @@ 3404F49A2028A20D0090E401 /* BMCCategoryCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3404F4982028A20D0090E401 /* BMCCategoryCell.xib */; }; 3404F49D2028A2430090E401 /* BMCActionsCreateCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3404F49B2028A2430090E401 /* BMCActionsCreateCell.swift */; }; 3404F49E2028A2430090E401 /* BMCActionsCreateCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3404F49C2028A2430090E401 /* BMCActionsCreateCell.xib */; }; - 34065A111F45E7F8006684E5 /* GoogleFallbackBanner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34065A0F1F45E7F8006684E5 /* GoogleFallbackBanner.swift */; }; 3406FA161C6E0C3300E9FAD2 /* MWMMapDownloadDialog.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3406FA141C6E0C3300E9FAD2 /* MWMMapDownloadDialog.mm */; }; 3406FA191C6E0D8F00E9FAD2 /* MWMMapDownloadDialog.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3406FA171C6E0D8F00E9FAD2 /* MWMMapDownloadDialog.xib */; }; 340708651F2905A500029ECC /* NavigationInfoArea.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340708631F2905A500029ECC /* NavigationInfoArea.swift */; }; @@ -279,7 +278,6 @@ 34BBD6641F8270AC0070CA50 /* AuthorizationTransitioning.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34BBD6621F8270AC0070CA50 /* AuthorizationTransitioning.swift */; }; 34BBD6681F8273350070CA50 /* AuthorizationViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34BBD6661F8273350070CA50 /* AuthorizationViewController.xib */; }; 34BF0CC71C31304A00D097EB /* MWMAuthorizationCommon.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BF0CC51C31304A00D097EB /* MWMAuthorizationCommon.mm */; }; - 34C0A69D1F4C1B380007CE5B /* GoogleNativeBanner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34C0A69B1F4C1B380007CE5B /* GoogleNativeBanner.swift */; }; 34C9BD031C6DB693000DC38D /* MWMTableViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34C9BCFF1C6DB693000DC38D /* MWMTableViewController.mm */; }; 34C9BD051C6DB693000DC38D /* MWMViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34C9BD011C6DB693000DC38D /* MWMViewController.mm */; }; 34C9BD0A1C6DBCDA000DC38D /* MWMNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34C9BD081C6DBCDA000DC38D /* MWMNavigationController.m */; }; @@ -570,7 +568,6 @@ BB8123CF212C264700ADE512 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BB8123CD212C264700ADE512 /* Metal.framework */; }; BB8123D0212C264700ADE512 /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BB8123CE212C264700ADE512 /* MetalKit.framework */; }; BB8123D62130427E00ADE512 /* MetalContextFactory.mm in Sources */ = {isa = PBXBuildFile; fileRef = BB8123D52130427E00ADE512 /* MetalContextFactory.mm */; }; - EBDA7B7820B370B40054165B /* GoogleMobileAds.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBDA7B7320B3576D0054165B /* GoogleMobileAds.framework */; }; F5BD255A0838E70EC012748E /* DiscoverySearchCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5BD2ED6E94925472A9901B4 /* DiscoverySearchCell.swift */; }; F5BD29FF26AD58255766C51A /* DiscoverySpinnerCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5BD246A7E6BE8CD8600EDD9 /* DiscoverySpinnerCell.swift */; }; F5BD2CA4DBEFACBC48195F39 /* DiscoveryCollectionHolderCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5BD2A86D9DA2F9769D30B54 /* DiscoveryCollectionHolderCell.swift */; }; @@ -907,7 +904,6 @@ 3404F49B2028A2430090E401 /* BMCActionsCreateCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BMCActionsCreateCell.swift; sourceTree = "<group>"; }; 3404F49C2028A2430090E401 /* BMCActionsCreateCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BMCActionsCreateCell.xib; sourceTree = "<group>"; }; 340537621BBED98600D452C6 /* MWMMapViewControlsCommon.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MWMMapViewControlsCommon.h; path = APIBar/MWMMapViewControlsCommon.h; sourceTree = "<group>"; }; - 34065A0F1F45E7F8006684E5 /* GoogleFallbackBanner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GoogleFallbackBanner.swift; sourceTree = "<group>"; }; 3406FA131C6E0C3300E9FAD2 /* MWMMapDownloadDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMMapDownloadDialog.h; sourceTree = "<group>"; }; 3406FA141C6E0C3300E9FAD2 /* MWMMapDownloadDialog.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMMapDownloadDialog.mm; sourceTree = "<group>"; }; 3406FA171C6E0D8F00E9FAD2 /* MWMMapDownloadDialog.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMMapDownloadDialog.xib; sourceTree = "<group>"; }; @@ -1218,7 +1214,6 @@ 34BC72111B0DECAE0012A34B /* MWMMapViewControlsManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMMapViewControlsManager.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 34BF0CC51C31304A00D097EB /* MWMAuthorizationCommon.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMAuthorizationCommon.mm; sourceTree = "<group>"; }; 34BF0CC81C31306300D097EB /* MWMAuthorizationCommon.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MWMAuthorizationCommon.h; sourceTree = "<group>"; }; - 34C0A69B1F4C1B380007CE5B /* GoogleNativeBanner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GoogleNativeBanner.swift; sourceTree = "<group>"; }; 34C9BCFE1C6DB693000DC38D /* MWMTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMTableViewController.h; sourceTree = "<group>"; }; 34C9BCFF1C6DB693000DC38D /* MWMTableViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMTableViewController.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 34C9BD001C6DB693000DC38D /* MWMViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMViewController.h; sourceTree = "<group>"; }; @@ -1604,7 +1599,6 @@ BB8123CE212C264700ADE512 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; }; BB8123D42130427E00ADE512 /* MetalContextFactory.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MetalContextFactory.h; sourceTree = "<group>"; }; BB8123D52130427E00ADE512 /* MetalContextFactory.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = MetalContextFactory.mm; sourceTree = "<group>"; }; - EBDA7B7320B3576D0054165B /* GoogleMobileAds.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GoogleMobileAds.framework; path = MoPubSDK/AdNetworkSupport/AdMob/SDK/GoogleMobileAds.framework; sourceTree = "<group>"; }; ED48BBB317C267F5003E7E92 /* ColorPickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ColorPickerView.h; sourceTree = "<group>"; }; ED48BBB417C267F5003E7E92 /* ColorPickerView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ColorPickerView.mm; sourceTree = "<group>"; }; ED48BBB817C2B1E2003E7E92 /* CircleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CircleView.h; sourceTree = "<group>"; }; @@ -1994,7 +1988,6 @@ 56EE14D11FE804550036F20C /* libtransit.a in Frameworks */, 345E8F4E1F83984500A826CC /* GoogleSignIn.framework in Frameworks */, 345E8F4F1F83984500A826CC /* GoogleSignInDependencies.framework in Frameworks */, - EBDA7B7820B370B40054165B /* GoogleMobileAds.framework in Frameworks */, 4586D0E71F4813AB00DF9CE5 /* libmwm_diff.a in Frameworks */, 4586D0C41F48121A00DF9CE5 /* libbsdiff.a in Frameworks */, 34E6F2DB1F459C05008E14F9 /* GLKit.framework in Frameworks */, @@ -2291,7 +2284,6 @@ 340474DB1E08199D00C92850 /* 3party */ = { isa = PBXGroup; children = ( - EBDA7B7320B3576D0054165B /* GoogleMobileAds.framework */, 45A37B9D20B33F5D005FBDBB /* FBAudienceNetwork.framework */, 340474DC1E08199D00C92850 /* Crashlytics.framework */, 340474DD1E08199D00C92850 /* Fabric.framework */, @@ -2502,15 +2494,6 @@ path = Categories; sourceTree = "<group>"; }; - 34065A0E1F45E7E1006684E5 /* Google */ = { - isa = PBXGroup; - children = ( - 34065A0F1F45E7F8006684E5 /* GoogleFallbackBanner.swift */, - 34C0A69B1F4C1B380007CE5B /* GoogleNativeBanner.swift */, - ); - path = Google; - sourceTree = "<group>"; - }; 340837101B7243B500B5C185 /* Share */ = { isa = PBXGroup; children = ( @@ -3261,7 +3244,6 @@ 34F4071C1E9E1AFF00E57AC0 /* Ads */ = { isa = PBXGroup; children = ( - 34065A0E1F45E7E1006684E5 /* Google */, 34F4071D1E9E1AFF00E57AC0 /* Banner.swift */, 34F4071E1E9E1AFF00E57AC0 /* BannersCache.swift */, 34F4071F1E9E1AFF00E57AC0 /* BannerType.swift */, @@ -5205,7 +5187,6 @@ 34AB66591FC5AA330078E451 /* TransportTransitFlowLayout.swift in Sources */, 3486B5191E27AD3B0069C126 /* MWMFrameworkListener.mm in Sources */, 3404756B1E081A4600C92850 /* MWMSearch+CoreSpotlight.mm in Sources */, - 34065A111F45E7F8006684E5 /* GoogleFallbackBanner.swift in Sources */, F653CE121C6DEC8E00A453F1 /* MWMDropDown.mm in Sources */, 3404755C1E081A4600C92850 /* MWMLocationManager.mm in Sources */, 3454D7BC1E07F045004AF2AD /* CLLocation+Mercator.mm in Sources */, @@ -5324,7 +5305,6 @@ 47E3C72F2111F472008B3B27 /* CoverVerticalModalTransitioning.swift in Sources */, 346DB83D1E5C4F6700E3123E /* GalleryModel.swift in Sources */, 34E776101F14B165003040B3 /* VisibleArea.swift in Sources */, - 34C0A69D1F4C1B380007CE5B /* GoogleNativeBanner.swift in Sources */, 330473EA21F7440C00DC4AEA /* MWMHotelParams.mm in Sources */, 3454D7D71E07F045004AF2AD /* UIKitCategories.mm in Sources */, 47E6CB0B2178BA3600EA102B /* SearchBannerCell.swift in Sources */, diff --git a/iphone/Maps/Maps_Prefix.pch b/iphone/Maps/Maps_Prefix.pch index 9935ab9240..19d5cc075e 100644 --- a/iphone/Maps/Maps_Prefix.pch +++ b/iphone/Maps/Maps_Prefix.pch @@ -5,7 +5,6 @@ #ifdef __OBJC__ #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> - #import <GoogleMobileAds/GoogleMobileAds.h> #import "MWMConsts.h" #import "MWMMacros.h" diff --git a/iphone/Maps/UI/Ads/AdBanner.swift b/iphone/Maps/UI/Ads/AdBanner.swift index 54bc496a77..a45082f325 100644 --- a/iphone/Maps/UI/Ads/AdBanner.swift +++ b/iphone/Maps/UI/Ads/AdBanner.swift @@ -143,14 +143,6 @@ final class AdBanner: UITableViewCell { onRemoveAds?() } - override func layoutSubviews() { - super.layoutSubviews() - switch nativeAd { - case let ad as GoogleFallbackBanner: updateFallbackBannerLayout(ad: ad) - default: break - } - } - func reset() { state = .unset } @@ -169,8 +161,6 @@ final class AdBanner: UITableViewCell { case let ad as FacebookBanner: configFBBanner(ad: ad.nativeAd) case let ad as RBBanner: configRBBanner(ad: ad) case let ad as MopubBanner: configMopubBanner(ad: ad) - case let ad as GoogleFallbackBanner: configGoogleFallbackBanner(ad: ad) - case let ad as GoogleNativeBanner: configGoogleNativeBanner(ad: ad) default: assert(false) } self.onRemoveAds = onRemoveAds @@ -253,24 +243,6 @@ final class AdBanner: UITableViewCell { } } - private func configGoogleFallbackBanner(ad: GoogleFallbackBanner) { - adType = .fallback - DAAImageWidth.constant = adPrivacyImage.width; - DAAImage.isHidden = false; - - fallbackAdView.subviews.forEach { $0.removeFromSuperview() } - fallbackAdView.addSubview(ad) - updateFallbackBannerLayout(ad: ad) - } - - private func updateFallbackBannerLayout(ad: GoogleFallbackBanner) { - ad.width = fallbackAdView.width - fallbackAdViewHeight.constant = ad.dynamicSize.height - } - - private func configGoogleNativeBanner(ad _: GoogleNativeBanner) { - } - private func refreshBannerIfNeeded() { if let ad = nativeAd as? MTRGNativeAd { let clickableView: UIView diff --git a/iphone/Maps/UI/Search/TableView/MWMSearchTableViewController.mm b/iphone/Maps/UI/Search/TableView/MWMSearchTableViewController.mm index 1569173a14..19a71d95fc 100644 --- a/iphone/Maps/UI/Search/TableView/MWMSearchTableViewController.mm +++ b/iphone/Maps/UI/Search/TableView/MWMSearchTableViewController.mm @@ -22,7 +22,7 @@ NSString * GetLocalizedTypeName(search::Result const & result) } } -@interface MWMSearchTableViewController ()<UITableViewDataSource, UITableViewDelegate, MWMGoogleFallbackBannerDynamicSizeDelegate> +@interface MWMSearchTableViewController ()<UITableViewDataSource, UITableViewDelegate> @property(weak, nonatomic) IBOutlet UITableView * tableView; @@ -114,16 +114,9 @@ NSString * GetLocalizedTypeName(search::Result const & result) } case MWMSearchItemTypeMopub: case MWMSearchItemTypeFacebook: - case MWMSearchItemTypeGoogle: { auto cell = static_cast<MWMAdBanner *>([tableView dequeueReusableCellWithCellClass:[MWMAdBanner class] indexPath:indexPath]); auto ad = [MWMSearch adWithContainerIndex:containerIndex]; - if ([ad isKindOfClass:[MWMGoogleFallbackBanner class]]) - { - auto fallbackAd = static_cast<MWMGoogleFallbackBanner *>(ad); - fallbackAd.cellIndexPath = indexPath; - fallbackAd.dynamicSizeDelegate = self; - } [cell configWithAd:ad containerType:MWMAdBannerContainerTypeSearch canRemoveAds:[SubscriptionManager canMakePayments] @@ -145,13 +138,6 @@ NSString * GetLocalizedTypeName(search::Result const & result) } } -#pragma mark - MWMGoogleFallbackBannerDynamicSizeDelegate - -- (void)dynamicSizeUpdatedWithBanner:(MWMGoogleFallbackBanner * _Nonnull)banner -{ - [self.tableView reloadRowsAtIndexPaths:@[banner.cellIndexPath] withRowAnimation:UITableViewRowAnimationFade]; -} - #pragma mark - UITableViewDelegate - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath @@ -170,8 +156,7 @@ NSString * GetLocalizedTypeName(search::Result const & result) break; } case MWMSearchItemTypeMopub: - case MWMSearchItemTypeFacebook: - case MWMSearchItemTypeGoogle: break; + case MWMSearchItemTypeFacebook: break; case MWMSearchItemTypeSuggestion: { auto const & suggestion = [MWMSearch resultWithContainerIndex:containerIndex]; |