Enagora.Plugins.Xam.GoogleAds
0.0.5-beta
See the version list below for details.
Requires NuGet 2.8.1 or higher.
dotnet add package Enagora.Plugins.Xam.GoogleAds --version 0.0.5-beta
NuGet\Install-Package Enagora.Plugins.Xam.GoogleAds -Version 0.0.5-beta
<PackageReference Include="Enagora.Plugins.Xam.GoogleAds" Version="0.0.5-beta" />
paket add Enagora.Plugins.Xam.GoogleAds --version 0.0.5-beta
#r "nuget: Enagora.Plugins.Xam.GoogleAds, 0.0.5-beta"
// Install Enagora.Plugins.Xam.GoogleAds as a Cake Addin #addin nuget:?package=Enagora.Plugins.Xam.GoogleAds&version=0.0.5-beta&prerelease // Install Enagora.Plugins.Xam.GoogleAds as a Cake Tool #tool nuget:?package=Enagora.Plugins.Xam.GoogleAds&version=0.0.5-beta&prerelease
** README FILE **
Initialize GoogleAds where you want with:
CrossGoogleAds.Current.Initialize([AppId]);
------------ BANNER XAML ------------------------------------
When using banner be sure allocation element height or suscribe lo BannerAdLoaded event for example changing IsVisible AdMobView state. Otherwise on initialization AdMobView height would be zero and when banner is loaded is not going to be visible.
Import element xmlns:ads="clr-namespace:Enagora.Plugins.Xam.GoogleAds.Abstractions.Views;assembly=Enagora.Plugins.Xam.GoogleAds.Abstractions"
Use where you want <ads:AdMobView Grid.Row="2" AdUnitId="{Binding AdUnitId}" BackgroundColor="Transparent" /> //is recomended IsVisble={Binding ShowBanner} updated when BannerAdLoaded is raised
-------------- INTERSTITIAL ----------------------------------
Initialize with CrossGoogleAds.Current.LoadInterstitialAd([AdUnitId]);
After InterstitialAdLoaded event you can show when you want with
CrossGoogleAds.Current.InterstitialShow();
--------------- USEFUL EVENTS ---------------------------------
Interstitial Ads: InterstitialAdLoaded; // Raises when interstitial is loaded and ready to show InterstitialAdClosed; // Raises when interstitial is closed
Banner Ads: BannerAdLoaded; // Raises when banner is loaded and ready to show
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid81 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap10 is compatible. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
MonoAndroid 0.0
- Xamarin.Firebase.Ads (>= 60.1142.1)
- Xamarin.GooglePlayServices.Ads.Lite (>= 60.1142.1)
-
UAP 0.0
- Microsoft.NetCore.UniversalWindowsPlatform (>= 6.0.6)
-
Xamarin.iOS 1.0
- Xamarin.Firebase.iOS.AdMob (>= 7.31.0.2)
- Xamarin.Google.iOS.MobileAds (>= 7.31.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.8-beta | 454 | 10/4/2019 |
1.0.7 | 690 | 9/10/2019 |
1.0.6 | 528 | 9/10/2019 |
1.0.5 | 528 | 9/10/2019 |
1.0.2 | 525 | 9/4/2019 |
1.0.1 | 511 | 9/4/2019 |
0.0.6-beta | 737 | 11/27/2018 |
0.0.5-beta | 543 | 11/23/2018 |
0.0.4-beta | 578 | 11/21/2018 |
Beta version for Android and iOS