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
MIT License
586 stars 17 forks source link

Unable to start performance trace in iOS #82

Open sammiepls opened 1 year ago

sammiepls commented 1 year ago

Hi there, really appreciate all your performance benchmarking tools, they've been amazing!

I'm having an issue with react-native-startup-trace for iOS. It's fine in Android but I can't seem to get it working in iOS. I'm using Firebase Performance with other custom traces in my app on the JS side and it's been working fine. Just can't seem to trigger the tracking in the native iOS side.

[Firebase/Performance][I-PRF100001] Firebase Performance Monitoring is successfully initialized! In a minute, visit the Firebase console to view your data: https://console.firebase.google.com/...
2023-02-03 14:26:38.322177+0800 AppName[14557:1739869] 8.15.0 - [Firebase/Performance][I-PRF200004] Trace feature is disabled.

I've tried to follow the troubleshooting guide for Firebase and have also added this to my Info.plist

<key>firebase_performance_collection_enabled</key>
<true/>

I don't have any remote config setup to disable it.

I've also tried building a prod IPA and just trying to run the app a few times to see if it would show up in the Firebase dashboard but no luck still.

    "@react-native-firebase/app": "^14.9.0",
    "@react-native-firebase/perf": "^14.9.0",
    "react-native": "0.69.7",
    "react-native-startup-trace": "^0.5.0",