upgrading-react-native
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Executes system commands to detect versions, install dependencies, and build the application.
- Uses
npm pkg getandnpm viewto inspect project dependencies and registry metadata. - Runs
npm install,pod install, andnpx expo installto manage Node.js and iOS dependencies. - Performs native builds using
xcodebuildandreact-native build-androidto verify the upgrade process. - Includes
sudo xcode-selectandsudo xcodebuild --runFirstLaunchfor essential iOS development toolchain configuration as part of the environment prerequisites. - [EXTERNAL_DOWNLOADS]: Retrieves project templates and version diffs from well-known community and official sources.
- Downloads unified diffs and release lists from the
react-native-community/rn-diff-purgeGitHub repository. - References official documentation and tools from
expo.dev,reactnative.dev, andcallstack.comfor compatibility guidance. - [REMOTE_CODE_EXECUTION]: Instructs the user to download and update binary components as part of the framework upgrade.
- Provides instructions to fetch and replace the
gradle-wrapper.jarbinary from the officialreact-native-communitytemplate repository to ensure alignment with the target React Native version.
Audit Metadata