Repository to follow along Turbo Native Modules section in The New Architecture docs in React Native.
Each code block assumes you are running from root directory
cd RTNCalculator
yarn install
cd ../MyApp
yarn install
node MyApp/node_modules/react-native/scripts/generate-artifacts.js \
--path MyApp/ \
--outputPath RTNCalculator/generated/
cd MyApp/ios
bundle install
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
cd android
./gradlew generateCodegenArtifactsFromSchema
cd MyApp
yarn ios
cd MyApp
yarn android