mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
refactor(database,ios): remove leftover logging points
This commit is contained in:
@@ -131,7 +131,6 @@ RCT_EXPORT_MODULE();
|
||||
registration:(NSDictionary *)registration
|
||||
snapshot:(FIRDataSnapshot *)dataSnapshot
|
||||
previousChildName:(NSString *)previousChildName {
|
||||
NSLog(@"HANDLE DB EVENT");
|
||||
NSDictionary *data;
|
||||
if ([eventType isEqualToString:@"value"]) {
|
||||
data = [RNFBDatabaseCommon snapshotToDictionary:dataSnapshot];
|
||||
@@ -152,7 +151,6 @@ RCT_EXPORT_MODULE();
|
||||
- (void)handleDatabaseEventError:(NSString *)key
|
||||
registration:(NSDictionary *)registration
|
||||
error:(NSError *)error {
|
||||
NSLog(@"HANDLE DB ERROR");
|
||||
NSArray *codeAndMessage = [RNFBDatabaseCommon getCodeAndMessage:error];
|
||||
[[RNFBRCTEventEmitter shared] sendEventWithName:RNFB_DATABASE_SYNC body:@{
|
||||
@"body": @{
|
||||
|
||||
Reference in New Issue
Block a user