🔥 React Native with Hermes
Edit File wtih below code - android/app/build.gradle and clean build using cd android && ./gradlew clean
...
project.ext.react = [
enableHermes: true, // clean and rebuild if changing
]
...
def enableHermes = project.ext.react.get("enableHermes", true);
...
edit ios/Podfile and run pod install
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => true
)
npx react-native run-android
ORnpm run android
Runs dev server for androidnpx react-native run-ios
ORnpm run ios
Runs dev server for ios