react-native-firebase/ios/RNFirebase/auth/RNFirebaseAuth.h

24 lines
427 B
C
Raw Normal View History

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