diff --git a/ios/RNFirebase/perf/RNFirebasePerformance.m b/ios/RNFirebase/perf/RNFirebasePerformance.m index d135b9f2..de8e7b9b 100644 --- a/ios/RNFirebase/perf/RNFirebasePerformance.m +++ b/ios/RNFirebase/perf/RNFirebasePerformance.m @@ -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; }