From f29f0733ef7740f88e4ccd9c581d749b608b4d18 Mon Sep 17 00:00:00 2001 From: Francisco Silva Date: Wed, 26 Jun 2019 15:46:29 +0200 Subject: [PATCH] Update RNAdMobBanner.js Support new UIManager API --- RNAdMobBanner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNAdMobBanner.js b/RNAdMobBanner.js index 60c0f370e..74c7517b2 100644 --- a/RNAdMobBanner.js +++ b/RNAdMobBanner.js @@ -27,7 +27,7 @@ class AdMobBanner extends Component { loadBanner() { UIManager.dispatchViewManagerCommand( findNodeHandle(this._bannerView), - UIManager.RNGADBannerView.Commands.loadBanner, + UIManager.getViewManagerConfig('RNGADBannerView').Commands.loadBanner, null, ); }