27 lines
620 B
Objective-C
27 lines
620 B
Objective-C
#ifndef RNFirebaseDatabase_h
|
|
#define RNFirebaseDatabase_h
|
|
|
|
#import "Firebase.h"
|
|
#if __has_include(<React/RCTEventEmitter.h>)
|
|
#import <React/RCTEventEmitter.h>
|
|
#else // Compatibility for RN version < 0.40
|
|
#import "RCTEventEmitter.h"
|
|
#endif
|
|
#if __has_include(<React/RCTBridgeModule.h>)
|
|
#import <React/RCTBridgeModule.h>
|
|
#else // Compatibility for RN version < 0.40
|
|
#import "RCTBridgeModule.h"
|
|
#endif
|
|
|
|
@interface RNFirebaseDatabase : RCTEventEmitter <RCTBridgeModule> {
|
|
|
|
}
|
|
|
|
@property NSMutableDictionary *dbReferences;
|
|
@property NSMutableDictionary *transactions;
|
|
@property dispatch_queue_t transactionQueue;
|
|
|
|
@end
|
|
|
|
#endif
|