24 lines
427 B
Objective-C
24 lines
427 B
Objective-C
#ifndef RNFirebaseAuth_h
|
|
#define RNFirebaseAuth_h
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
#if __has_include(<FirebaseAuth/FIRAuth.h>)
|
|
#import "Firebase.h"
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
@interface RNFirebaseAuth : RCTEventEmitter <RCTBridgeModule> {
|
|
FIRAuthStateDidChangeListenerHandle authListenerHandle;
|
|
Boolean listening;
|
|
}
|
|
|
|
@end
|
|
|
|
#else
|
|
@interface RNFirebaseAuth : NSObject <RCTBridgeModule> {
|
|
}
|
|
@end
|
|
#endif
|
|
|
|
#endif
|