bamlab / react-native-flipper-performance-monitor

An attempt to have a lighthouse for React Native. Flipper plugin to show a graph of the React Native performance monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to stop the trace STARTUP_JS because it has not been started - iOS

marcaaron opened this issue · comments

Is there a preferred version of Firebase/Performance to use? When testing this with latest I see...

8.4.0 - [Firebase/Performance][I-PRF200006] Trace name _st_UIViewController started, not stopped
8.4.0 - [Firebase/Performance][I-PRF200003] Failed to stop the trace STARTUP_JS because it has not been started.

Any ideas ?

Hi @marcaaron

Is the trace started from the native side in the AppDelegate.m as mentioned in https://github.com/bamlab/react-native-performance/tree/master/react-native-startup-trace#usage?

The trace is started on native side and then stopped from the JS side.

It needs to be done just after Firebase initialization. If that's the case, try moving it before the jS bridge initialization RCTBridge *bridge if not the case

Closing this for lack of response for a while, @marcaaron feel free to reopen if needed!