From 3e6736cd98ab2b8a9874130f6e1c4973a130129a Mon Sep 17 00:00:00 2001 From: SotoiGhost Date: Mon, 12 Jun 2017 22:39:02 -0500 Subject: [PATCH] [firebase][admob] Updated to version 7.17.0.0 --- Firebase.AdMob/component/component.yaml | 4 +-- Firebase.AdMob/externals/Podfile | 4 +-- .../nuget/Xamarin.Firebase.iOS.AdMob.nuspec | 4 +-- Google.MobileAds/component/component.yaml | 30 +++++++++---------- Google.MobileAds/externals/Podfile | 2 +- .../nuget/Xamarin.Google.iOS.MobileAds.nuspec | 10 +++---- .../source/Google.MobileAds/ApiDefinition.cs | 13 ++++++++ 7 files changed, 40 insertions(+), 27 deletions(-) diff --git a/Firebase.AdMob/component/component.yaml b/Firebase.AdMob/component/component.yaml index 4d2adfe34..d8cc7564a 100644 --- a/Firebase.AdMob/component/component.yaml +++ b/Firebase.AdMob/component/component.yaml @@ -1,4 +1,4 @@ -version: 7.16.0.1 +version: 7.17.0.0 name: Firebase AdMob for iOS id: firebaseiosadmob publisher: Xamarin Inc @@ -18,7 +18,7 @@ libraries: is_shell: true packages: ios-unified: - - Xamarin.Firebase.iOS.AdMob, Version=7.16.0.1 + - Xamarin.Firebase.iOS.AdMob, Version=7.17.0.0 samples: - name: AdMob Sample path: ../samples/AdMobSample/AdMobSample.sln diff --git a/Firebase.AdMob/externals/Podfile b/Firebase.AdMob/externals/Podfile index cae69982e..492957ca9 100644 --- a/Firebase.AdMob/externals/Podfile +++ b/Firebase.AdMob/externals/Podfile @@ -20,7 +20,7 @@ In .targets file, located in Firebase.Analytics binding, you can find: - GoogleSymbolUtilities (1.1.2) In .targets file, located in Firebase.Core binding, you can find: -- FirebaseCore (3.4.6) +- FirebaseCore (3.4.7) - GoogleToolboxForMac (2.1.1) - GoogleInterchangeUtilities (1.2.2) @@ -34,5 +34,5 @@ platform :ios, '7.0' install! 'cocoapods', :integrate_targets => false target 'FirebaseAdMob' do - pod 'Firebase/AdMob', '3.11.0' + pod 'Firebase/AdMob', '3.12.0' end diff --git a/Firebase.AdMob/nuget/Xamarin.Firebase.iOS.AdMob.nuspec b/Firebase.AdMob/nuget/Xamarin.Firebase.iOS.AdMob.nuspec index 1c0434b0e..cb27b2895 100644 --- a/Firebase.AdMob/nuget/Xamarin.Firebase.iOS.AdMob.nuspec +++ b/Firebase.AdMob/nuget/Xamarin.Firebase.iOS.AdMob.nuspec @@ -3,7 +3,7 @@ Xamarin.Firebase.iOS.AdMob Firebase APIs AdMob iOS Library - 7.16.0.1 + 7.17.0.0 Xamarin Inc. Xamarin Inc. false @@ -15,7 +15,7 @@ - + diff --git a/Google.MobileAds/component/component.yaml b/Google.MobileAds/component/component.yaml index 7db6da1ba..72f73e33a 100644 --- a/Google.MobileAds/component/component.yaml +++ b/Google.MobileAds/component/component.yaml @@ -1,4 +1,4 @@ -version: 7.16.0.0 +version: 7.17.0.0 name: Google Mobile Ads for iOS id: googleiosmobileads publisher: Xamarin Inc @@ -6,26 +6,26 @@ publisher-url: https://xamarin.com src-url: https://github.com/xamarin/GoogleApisForiOSComponents/tree/master/Google.MobileAds summary: Connect with advertisers and show relevant ads in your app. Users click on ads, you make money. icons: - - ../../icons/googlemobileads_128x128.png - - ../../icons/googlemobileads_512x512.png +- ../../icons/googlemobileads_128x128.png +- ../../icons/googlemobileads_512x512.png docs-url: https://developers.google.com/admob/ libraries: ios-unified: - - ../output/Google.MobileAds.dll + - ../output/Google.MobileAds.dll is_shell: true packages: ios-unified: - - Xamarin.Google.iOS.MobileAds, Version=7.16.0.0 + - Xamarin.Google.iOS.MobileAds, Version=7.17.0.0 samples: - - name: "Google Mobile Ads AdMob Sample" - path: ../samples/MobileAdsExample/MobileAdsExample.sln - removeProjects: - - Google.MobileAds - installNuGets: - - project: MobileAdsExample - packages: - - Xamarin.Google.iOS.MobileAds - removeNodes: - - "//xNS:Import[contains (@Project, 'Google.MobileAds.targets')]" +- name: Google Mobile Ads AdMob Sample + path: ../samples/MobileAdsExample/MobileAdsExample.sln + removeProjects: + - Google.MobileAds + installNuGets: + - project: MobileAdsExample + packages: + - Xamarin.Google.iOS.MobileAds + removeNodes: + - //xNS:Import[contains (@Project, 'Google.MobileAds.targets')] local-nuget-repo: ../../tmp-nugets no_build: true diff --git a/Google.MobileAds/externals/Podfile b/Google.MobileAds/externals/Podfile index 43ca30003..da01b045c 100644 --- a/Google.MobileAds/externals/Podfile +++ b/Google.MobileAds/externals/Podfile @@ -4,5 +4,5 @@ platform :ios, '6.0' install! 'cocoapods', :integrate_targets => false target 'Google-Mobile-Ads-SDK' do - pod 'Google-Mobile-Ads-SDK', '7.16.0' + pod 'Google-Mobile-Ads-SDK', '7.17.0' end \ No newline at end of file diff --git a/Google.MobileAds/nuget/Xamarin.Google.iOS.MobileAds.nuspec b/Google.MobileAds/nuget/Xamarin.Google.iOS.MobileAds.nuspec index 6ae8a4dd6..a20110bf7 100644 --- a/Google.MobileAds/nuget/Xamarin.Google.iOS.MobileAds.nuspec +++ b/Google.MobileAds/nuget/Xamarin.Google.iOS.MobileAds.nuspec @@ -1,9 +1,9 @@ - - + + Xamarin.Google.iOS.MobileAds Google APIs Mobile Ads iOS Library - 7.16.0.0 + 7.17.0.0 Xamarin Inc. Xamarin Inc. false @@ -14,7 +14,7 @@ https://raw.githubusercontent.com/xamarin/GoogleApisForiOSComponents/master/icons/googleiosmobileads_128x128.png - + @@ -22,6 +22,6 @@ - + diff --git a/Google.MobileAds/source/Google.MobileAds/ApiDefinition.cs b/Google.MobileAds/source/Google.MobileAds/ApiDefinition.cs index 694491d02..79c72692b 100644 --- a/Google.MobileAds/source/Google.MobileAds/ApiDefinition.cs +++ b/Google.MobileAds/source/Google.MobileAds/ApiDefinition.cs @@ -812,6 +812,19 @@ interface INativeAdDelegate [BaseType (typeof (NSObject), Name = "GADNativeAdDelegate")] interface NativeAdDelegate { + + // @optional -(void)nativeAdDidRecordImpression:(GADNativeAd *)nativeAd; + [EventArgs ("NativeAd")] + [EventName ("ImpressionRecorded")] + [Export ("nativeAdDidRecordImpression:")] + void DidRecordImpression (NativeAd nativeAd); + + // @optional -(void)nativeAdDidRecordClick:(GADNativeAd *)nativeAd; + [EventArgs ("NativeAd")] + [EventName ("ClickRecorded")] + [Export ("nativeAdDidRecordClick:")] + void DidRecordClick (NativeAd nativeAd); + // @optional -(void)nativeAdWillPresentScreen:(GADNativeAd *)nativeAd; [EventArgs ("NativeAd")] [Export ("nativeAdWillPresentScreen:")]