mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-28 20:25:41 +08:00
[perf][ios] Fix traceWithName
This commit is contained in:
@@ -17,7 +17,7 @@ RCT_EXPORT_MODULE();
|
||||
if (_traces[identifier]) {
|
||||
return _traces[identifier];
|
||||
}
|
||||
FIRTrace *trace = [FIRPerformance traceWithName:identifier];
|
||||
FIRTrace *trace = [[FIRPerformance sharedInstance] traceWithName:identifier];
|
||||
_traces[identifier] = trace;
|
||||
return trace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user