2017-03-09 15:26:28 +00:00
|
|
|
#ifndef RNFirebaseAuth_h
|
|
|
|
#define RNFirebaseAuth_h
|
|
|
|
|
2017-05-05 08:46:22 +00:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2017-03-09 15:26:28 +00:00
|
|
|
|
2017-05-25 14:33:41 +00:00
|
|
|
#if __has_include(<FirebaseAuth/FIRAuth.h>)
|
|
|
|
#import "Firebase.h"
|
2017-05-31 14:53:08 +00:00
|
|
|
#import <React/RCTEventEmitter.h>
|
2017-05-25 14:33:41 +00:00
|
|
|
|
2017-03-09 15:26:28 +00:00
|
|
|
@interface RNFirebaseAuth : RCTEventEmitter <RCTBridgeModule> {
|
|
|
|
FIRAuthStateDidChangeListenerHandle authListenerHandle;
|
|
|
|
Boolean listening;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2017-05-25 14:33:41 +00:00
|
|
|
#else
|
2017-05-31 14:53:08 +00:00
|
|
|
@interface RNFirebaseAuth : NSObject <RCTBridgeModule> {
|
2017-05-25 14:33:41 +00:00
|
|
|
}
|
|
|
|
@end
|
|
|
|
#endif
|
|
|
|
|
2017-03-09 15:26:28 +00:00
|
|
|
#endif
|