I'm having a hard time using Flipper. I commented it out in Podfile while hermes_enabled => true
. I ran pod install agin and build the app but it crashed upon launch.
When I set Hermes to false, it was build successfully.
Is there a way to disable Flipper & keep Hermes true and app builds successfully?
For react-native v0.70.1 I did the following
Remove
react-native-flipper
frompackage.json
. Maybe I think you need to remove other packages that depend on the flipper. But I didn'tSet in ios/Podfile
:flipper_configuration => FlipperConfiguration.disabled
instead of
:flipper_configuration => FlipperConfiguration.enabled
Remove
node_modules
Run
yarn
ornpm install
Clear old data:
5.1 Run
cd ios
5.2 Run command
pod deintegrate && pod install
5.3 Run
cd ..
5.4 Run
cd android && ./gradlew clean
5.5 Run
cd..
Clearing old data is really important, I even restart my MacBook
I hope this helps you