Skip to content

Commit

Permalink
fix: Solved issue with method recordManualImpression for GAMBannerAd (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amolrajoba authored Apr 13, 2023
1 parent 91cf0e4 commit a7dbc74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ads/GAMBannerAd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export class GAMBannerAd extends React.Component<GAMBannerAdProps> {
recordManualImpression() {
UIManager.dispatchViewManagerCommand(
findNodeHandle(this.ref.current),
'recordManualImpression',
UIManager.getViewManagerConfig(
'RNGoogleMobileAdsBannerView',
).Commands.recordManualImpression.toString(),
undefined,
);
}
Expand Down

0 comments on commit a7dbc74

Please sign in to comment.