2017-03-09 15:26:28 +00:00
|
|
|
#ifndef RNFirebaseDatabase_h
|
|
|
|
#define RNFirebaseDatabase_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 RNFirebaseDatabase : RCTEventEmitter <RCTBridgeModule> {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@property NSMutableDictionary *dbReferences;
|
2017-03-25 00:59:27 +00:00
|
|
|
@property NSMutableDictionary *transactions;
|
|
|
|
@property dispatch_queue_t transactionQueue;
|
2017-03-09 15:26:28 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|