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
588 stars 17 forks source link

Unknown type name 'FlipperClient' Use of undeclared identifier 'FlipperClient' error #73

Closed hadnet closed 2 years ago

hadnet commented 2 years ago

Why I'm getting this error? I'm using RN 0.70.1 Screen Shot 2022-10-05 at 2 02 10 AM

Almouro commented 2 years ago

Hi @hadnet, I've upgraded the example app to 0.70.3 https://github.com/bamlab/react-native-flipper-performance-monitor/pull/74 but didn't run into any issue. Does it build for you?

It would seem Flipper isn't installed properly somehow, do you have Flipper properly enabled in your Podfile?

Also do other native iOS Flipper plugins like Layout and Shared preferences show up in Flipper for you?

image
hadnet commented 2 years ago

Sorry for the delay, the error was the location of the #ifdef FB_SONARKIT_ENABLED block, happens that it needs to be strictly before @implementation AppDelegate. Thanks anyway.