Skip to content

Commit 17adfa8

Browse files
steadevdylancom
authored andcommitted
fix(native ads, ios): wrong native ad prop type
1 parent b3b9ca4 commit 17adfa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ @implementation RNGoogleMobileAdsNativeView {
5252

5353
- (instancetype)initWithFrame:(CGRect)frame {
5454
if (self = [super initWithFrame:frame]) {
55-
static const auto defaultProps = std::make_shared<const RNGoogleMobileAdsBannerViewProps>();
55+
static const auto defaultProps = std::make_shared<const RNGoogleMobileAdsNativeViewProps>();
5656
_props = defaultProps;
5757

5858
_bridge = [RCTBridge currentBridge];

0 commit comments

Comments
 (0)