2
0
mirror of synced 2025-01-23 04:39:49 +00:00

[ios][database] add enableLogging method

This commit is contained in:
Salakar 2017-11-08 11:15:24 +00:00
parent f38a005ee9
commit 152c6a63c3

View File

@ -35,6 +35,10 @@ RCT_EXPORT_METHOD(setPersistence:(NSString *) appName
[RNFirebaseDatabase getDatabaseForApp:appName].persistenceEnabled = state; [RNFirebaseDatabase getDatabaseForApp:appName].persistenceEnabled = state;
} }
RCT_EXPORT_METHOD(enableLogging:(BOOL) enabled) {
[FIRDatabase setLoggingEnabled:enabled];
}
RCT_EXPORT_METHOD(keepSynced:(NSString *) appName RCT_EXPORT_METHOD(keepSynced:(NSString *) appName
key:(NSString *) key key:(NSString *) key
path:(NSString *) path path:(NSString *) path