react-native-firebase/ios/RNFirebase/admob/BannerComponent.h

28 lines
577 B
C
Raw Normal View History

2017-06-16 14:20:34 +00:00
#import <React/RCTComponent.h>
#import <React/RCTBridgeModule.h>
#if __has_include(<GoogleMobileAds/GADMobileAds.h>)
#import "GoogleMobileAds/GADBannerView.h"
@interface BannerComponent : UIView <GADBannerViewDelegate>
@property GADBannerView *banner;
@property (nonatomic, copy) NSString *size;
@property (nonatomic, copy) NSString *unitId;
@property (nonatomic, copy) NSDictionary *request;
@property (nonatomic, copy) RCTBubblingEventBlock onBannerEvent;
- (void)requestAd;
@end
#else
@interface RNFirebaseAdMobBanner : NSObject <RCTBridgeModule> {
}
@end
#endif