2017-03-09 15:26:28 +00:00
|
|
|
#ifndef RNFirebaseAuth_h
|
|
|
|
#define RNFirebaseAuth_h
|
|
|
|
|
|
|
|
#import "Firebase.h"
|
2017-05-05 08:46:22 +00:00
|
|
|
#if __has_include(<React/RCTEventEmitter.h>)
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
#else // Compatibility for RN version < 0.40
|
2017-03-09 15:26:28 +00:00
|
|
|
#import "RCTEventEmitter.h"
|
2017-05-05 08:46:22 +00:00
|
|
|
#endif
|
|
|
|
#if __has_include(<React/RCTBridgeModule.h>)
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
#else // Compatibility for RN version < 0.40
|
2017-03-09 15:26:28 +00:00
|
|
|
#import "RCTBridgeModule.h"
|
2017-05-05 08:46:22 +00:00
|
|
|
#endif
|
2017-03-09 15:26:28 +00:00
|
|
|
|
|
|
|
@interface RNFirebaseAuth : RCTEventEmitter <RCTBridgeModule> {
|
|
|
|
FIRAuthStateDidChangeListenerHandle authListenerHandle;
|
|
|
|
Boolean listening;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|