2017-05-27 15:24:51 +01:00
|
|
|
#ifndef RNFirebaseAdMob_h
|
2017-05-30 10:22:48 +01:00
|
|
|
#define RNFirebaseAdMob_h
|
2017-05-27 15:24:51 +01:00
|
|
|
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
|
2017-06-05 17:00:59 +01:00
|
|
|
#if __has_include(<GoogleMobileAds/GADMobileAds.h>)
|
|
|
|
#import "Firebase.h"
|
|
|
|
#import "RNFirebaseEvents.h"
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
#import "GoogleMobileAds/GADInterstitialDelegate.h"
|
|
|
|
#import "GoogleMobileAds/GADAdDelegate.h"
|
|
|
|
|
2017-05-30 10:22:48 +01:00
|
|
|
|
2017-06-05 17:00:59 +01:00
|
|
|
@interface RNFirebaseAdMob : RCTEventEmitter <RCTBridgeModule, GADInterstitialDelegate, GADAdDelegate> {
|
2017-05-27 15:24:51 +01:00
|
|
|
}
|
2017-06-05 17:00:59 +01:00
|
|
|
@property NSMutableDictionary *interstitials;
|
|
|
|
@end
|
2017-05-27 15:24:51 +01:00
|
|
|
|
2017-06-05 17:00:59 +01:00
|
|
|
#else
|
|
|
|
@interface RNFirebaseAdMob : NSObject <RCTBridgeModule> {
|
|
|
|
}
|
2017-05-27 15:24:51 +01:00
|
|
|
@end
|
2017-06-05 17:00:59 +01:00
|
|
|
#endif
|
2017-05-27 15:24:51 +01:00
|
|
|
|
|
|
|
#endif
|