react-native-flipper-performance-monitor icon indicating copy to clipboard operation
react-native-flipper-performance-monitor copied to clipboard

Expo SDK 48

Open jimmy123A opened this issue 2 years ago • 4 comments

The plugin is not working with the latest expo SDK. Are you able to fix, or anyone's up for a PR maybe?

jimmy123A avatar Feb 25 '23 01:02 jimmy123A

Hey there, maintainer of expo-community-flipper (an upstream dependency) here!

With SDK48, flipper is now officially supported. This means for SDK 48 you should remove the expo-community-flipper dependency and add expo-build-properties.

Most options carry over 1:1 under the new config object, including the ability to specify a semver version if you're using a version of react-native-flipper that differs from the one bundled with your react-native version. If after you've switched to the official build-properties plugin, things still aren't working, can you share the generated Podfile from expo prebuild? It's very helpful to ensure your Flipper is being defined properly when using an Expo setup.

thecodedrift avatar Mar 02 '23 01:03 thecodedrift

I can confirm, after changing from expo-community-flipper to expo-build-properties it's working again.

Before I've seen an error I couldn't find in Google [ios.dangerous]: withIosDangerousBaseMod: Cannot add flipper arguments to the project's ios/Podfile. Please report this with a copy of your project Podfile. You can generate this with the expo prebuild command.

This issue can be closed.

danieldanielecki avatar May 05 '23 13:05 danieldanielecki

PS. Code related to Flipper needs to be removed in AppDelegate.mm and in package.json. However, I couldn't find in the settings Start Measuring.

simulator_screenshot_ADBEA66B-FB75-4525-8CCA-0B102B5052E4

danieldanielecki avatar May 05 '23 14:05 danieldanielecki

PS. Code related to Flipper needs to be removed in AppDelegate.mm and in package.json. However, I couldn't find in the settings Start Measuring.

simulator_screenshot_ADBEA66B-FB75-4525-8CCA-0B102B5052E4

Same here. Any solutions regarding the missing Start Measuring option?

tamagutchi avatar Jul 24 '23 14:07 tamagutchi