[android][admob] Change bannerEvent to onBannerEvent to match iOS

This commit is contained in:
Elliot Hesp 2017-06-16 17:47:32 +01:00
parent d159d9bb6b
commit 3d226dad21
2 changed files with 3 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import java.util.Map;
public class RNFirebaseAdMobBanner extends SimpleViewManager<ReactViewGroup> {
public static final String REACT_CLASS = "RNFirebaseAdMobBanner";
public static final String BANNER_EVENT = "bannerEvent";
public static final String BANNER_EVENT = "onBannerEvent";
public enum Events {
EVENT_AD_SIZE_CHANGE("onSizeChange"),
@ -30,8 +30,7 @@ public class RNFirebaseAdMobBanner extends SimpleViewManager<ReactViewGroup> {
EVENT_AD_FAILED_TO_LOAD("onAdFailedToLoad"),
EVENT_AD_OPENED("onAdOpened"),
EVENT_AD_CLOSED("onAdClosed"),
EVENT_AD_LEFT_APPLICATION("onAdLeftApplication"),
EVENT_AD_VIDEO_CONTENT("hasVideoContent");
EVENT_AD_LEFT_APPLICATION("onAdLeftApplication");
private final String event;

View File

@ -24,7 +24,7 @@ import java.util.Map;
public class RNFirebaseAdMobNativeExpress extends SimpleViewManager<ReactViewGroup> {
public static final String REACT_CLASS = "RNFirebaseAdMobNativeExpress";
public static final String BANNER_EVENT = "bannerEvent";
public static final String BANNER_EVENT = "onBannerEvent";
public enum Events {
EVENT_AD_SIZE_CHANGE("onSizeChange"),