Skip to content

Commit 95c3540

Browse files
Internal updates (#1563)
1 parent 3020c59 commit 95c3540

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gma/src/ios/FADNativeDelegate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class NativeAdInternalIOS;
3232

3333
NS_ASSUME_NONNULL_BEGIN
3434

35-
@interface FADNativeDelegate : NSObject <GADNativeAdLoaderDelegate, GADAdLoaderDelegate>
35+
@interface FADNativeDelegate : NSObject <GADNativeAdLoaderDelegate, GADAdLoaderDelegate, GADNativeAdDelegate>
3636

3737
/// Returns a FADNativeDelegate object with NativeAdInternalIOS.
3838
- (FADNativeDelegate *)initWithInternalNativeAd:

gma/src/ios/native_ad_internal_ios.mm

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220

221221
void NativeAdInternalIOS::NativeAdDidReceiveAd(GADNativeAd *ad) {
222222
firebase::MutexLock lock(mutex_);
223+
ad.delegate = native_ad_delegate_;
223224
native_ad_ = ad;
224225

225226
NSObject *gad_icon = ad.icon;

0 commit comments

Comments
 (0)