Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 1c48295

Browse files
[iOS Performance Monitoring]: traces are not started automatically #1175
1 parent 15ea235 commit 1c48295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/performance/performance.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { firebaseUtils } from "../utils";
22

33
export function startTrace(name: string): FirebaseTrace {
4-
return new FirebaseTrace(FIRPerformance.sharedInstance().traceWithName(name));
4+
return new FirebaseTrace(FIRPerformance.startTraceWithName(name));
55
}
66

77
export class FirebaseTrace {

0 commit comments

Comments
 (0)