Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 616fd1f

Browse files
author
SotoiGhost
committed
[Firebase][AdMob] Fixed AdMob build
1 parent f281aa7 commit 616fd1f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

samples/Google/MobileAds/MobileAdsExample/MobileAdsExample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,9 @@
121121
<Project>{1C9DFB3E-FDA5-478B-B063-CF646AA892DB}</Project>
122122
<Name>MobileAds</Name>
123123
</ProjectReference>
124+
<ProjectReference Include="..\..\..\..\source\Firebase\Core\Core.csproj">
125+
<Project>{9335A59B-3B54-4ED5-8201-B68CFD05CAFB}</Project>
126+
<Name>Core</Name>
127+
</ProjectReference>
124128
</ItemGroup>
125129
</Project>

source/Google/MobileAds/ApiDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ interface NativeAdImageAdLoaderOptions {
17011701
}
17021702

17031703
// @interface GADNativeAdMediaAdLoaderOptions : GADAdLoaderOptions
1704-
[BaseType (typeof (AdLoaderOptions), Name = "GADNativeAdMediaAdLoaderOptions ")]
1704+
[BaseType (typeof (AdLoaderOptions), Name = "GADNativeAdMediaAdLoaderOptions")]
17051705
interface NativeAdMediaAdLoaderOptions {
17061706
// @property (assign, nonatomic) GADMediaAspectRatio mediaAspectRatio;
17071707
[Export ("mediaAspectRatio", ArgumentSemantic.Assign)]

source/Google/MobileAds/Loader.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ static Loader ()
1111

1212
public static void ForceLoad ()
1313
{
14+
Firebase.Core.Loader.ForceLoad ();
1415
}
1516
}
1617
}

0 commit comments

Comments
 (0)