Skip to content

Commit

Permalink
Merge pull request #46 from dylancom/fix-interstitial-crash-ios
Browse files Browse the repository at this point in the history
fix(ios): adUnitId is nil on interstitial load error
  • Loading branch information
dylancom authored Dec 28, 2021
2 parents 5ebaaee + d633340 commit 22ec558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNGoogleAds/RNGoogleAdsInterstitialModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ - (void)invalidate {
[RNGoogleAdsCommon sendAdEvent:GOOGLE_ADS_EVENT_INTERSTITIAL
requestId:requestId
type:GOOGLE_ADS_EVENT_ERROR
adUnitId:ad.adUnitID
adUnitId:adUnitId
error:codeAndMessage
data:nil];
return;
Expand Down

0 comments on commit 22ec558

Please sign in to comment.