[ios][database] add enableLogging method
This commit is contained in:
parent
f38a005ee9
commit
152c6a63c3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user