Jc.GMA.iOS
12.2.2
dotnet add package Jc.GMA.iOS --version 12.2.2
NuGet\Install-Package Jc.GMA.iOS -Version 12.2.2
<PackageReference Include="Jc.GMA.iOS" Version="12.2.2" />
<PackageVersion Include="Jc.GMA.iOS" Version="12.2.2" />
<PackageReference Include="Jc.GMA.iOS" />
paket add Jc.GMA.iOS --version 12.2.2
#r "nuget: Jc.GMA.iOS, 12.2.2"
#addin nuget:?package=Jc.GMA.iOS&version=12.2.2
#tool nuget:?package=Jc.GMA.iOS&version=12.2.2
Jc.GoogleMobileAds.iOS
Google Mobile Ads SDK iOS Bindings
Package Showcase
- marius-bughiu - Plugin.AdMob - AdMob plugin for .NET MAUI
- jcsawyer - Jc.AdMob.Avalonia - AdMob plugin for Avalonia mobile projects
Breaking Changes
Each major version contains breaking changes according to the Google AdMob SDK. Please refer to the Google AdMob SDK for more information. The headline changes relevant will be listed here.
v12.2.2
AdSizeCons
constants were changed to be hardcoded while I try to find a better approach to access the true values.
This means that values will be the same for both iPhone and iPad.
SmartBannerPortrait
, SmartBannerLandscape
, and Fluid
have been removed until a workaround is discovered as these are entirely dependent on the framework or the calling framework (MAUI/Avalonia/etc.)
v9.x.x to v11.x.x
- The minimum supported version of iOS is now 13.
- Note: SDK 11.0.0 still builds on iOS 12 devices, but ads will not serve.
- armv7 support has been removed from the SDK
More info can be found here
Usage
To use Jc.GoogleMobileAds.iOS, you can add the required packages to your project:
dotnet add package Jc.GMA.iOS
dotnet add package Jc.UMP.iOS
To use the latest v11.13.0
, you must add this target to your csproj file to support linking with Swift system libraries
<Target Name="LinkWithSwift" DependsOnTargets="_ParseBundlerArguments;_DetectSdkLocations" BeforeTargets="_LinkNativeExecutable">
<PropertyGroup>
<_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('iossimulator-'))">iphonesimulator</_SwiftPlatform>
<_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('ios-'))">iphoneos</_SwiftPlatform>
</PropertyGroup>
<ItemGroup>
<_CustomLinkFlags Include="-L" />
<_CustomLinkFlags Include="/usr/lib/swift" />
<_CustomLinkFlags Include="-L" />
<_CustomLinkFlags Include="$(_SdkDevPath)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(_SwiftPlatform)" />
<_CustomLinkFlags Include="-Wl,-rpath" />
<_CustomLinkFlags Include="-Wl,/usr/lib/swift" />
</ItemGroup>
</Target>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-ios18.0 is compatible. net9.0-ios was computed. |
-
net8.0-ios18.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Jc.GMA.iOS:
Package | Downloads |
---|---|
Plugin.AdMob
AdMob plugin for .NET MAUI. |
|
Jc.AdMob.Avalonia.iOS
Google AdMob for Avalonia on iOS. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
12.2.2 | 211 | 4/20/2025 |
12.2.2-preview100 | 166 | 4/5/2025 |
12.2.1 | 1,083 | 3/22/2025 |
12.2.0 | 146 | 3/18/2025 |
12.2.0-preview100 | 70 | 3/15/2025 |
11.13.6-preview100 | 137 | 3/13/2025 |
11.13.5 | 257 | 3/11/2025 |
11.13.5-preview100 | 158 | 3/11/2025 |
11.13.4 | 525 | 2/26/2025 |
11.13.3 | 107 | 2/23/2025 |
11.13.2 | 222 | 2/20/2025 |
11.13.1 | 150 | 2/16/2025 |
11.13.0 | 115 | 2/16/2025 |
11.13.0-preview100 | 102 | 2/16/2025 |
10.14.0-preview100 | 103 | 2/16/2025 |
9.14.0 | 778 | 12/14/2024 |
9.14.0-preview300 | 207 | 12/14/2024 |
9.14.0-preview200 | 253 | 12/14/2024 |
9.14.0-preview100 | 265 | 12/14/2024 |
8.13.0 | 305 | 12/13/2024 |
8.13.0-preview100 | 314 | 12/12/2024 |