
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
react-native-test-app
Advanced tools
react-native-test-app provides a test app for all supported platforms as a package
React Native Test App (RNTA) provides test apps for all platforms as a package. It handles the native bits for you so you can focus on what's important: your product.
If you want to migrate an existing test app for a library, follow the dedicated guide in the wiki.
You can generate a new project using npx
:
npx --package react-native-test-app@<version> init
# For example: npx --package react-native-test-app@4.2.3 init
You can always find the latest version here: https://github.com/microsoft/react-native-test-app/releases
Alternatively, if you're using a Bash-compatible shell:
npx --package react-native-test-app@$(npm view react-native-test-app version) init
[!NOTE]
We don't recommend using
@latest
because npm may not always use the latest version. See https://github.com/npm/cli/issues/5262 for more details.
In this example, we will create a project named "sample" in sample
with apps
for all platforms:
β What is the name of your test app? β¦ sample
? Which platforms do you need test apps for? βΊ
Instructions:
β/β: Highlight option
β/β/[space]: Toggle selection
a: Toggle all
enter/return: Complete answer
β Android
β iOS
β macOS
β― visionOS
β Windows
β Where should we create the new project? β¦ sample
Install npm dependencies inside the new project folder:
Yarn:
cd sample
yarn
npm:
cd sample
npm install
Once the dependencies are installed, follow the platform specific instructions in the wiki.
microsoft/fluentui-react-native β’ microsoft/rnx-kit β’ BabylonReactNative β’ callstack/repack β’ lottie-react-native β’ react-native-add-calendar-event β’ react-native-apple-authentication β’ react-native-async-storage β’ react-native-blur β’ react-native-clipboard β’ react-native-datetimepicker β’ react-native-google-signin β’ react-native-image-editor β’ react-native-keychain β’ react-native-masked-view β’ react-native-menu β’ react-native-netinfo β’ react-native-pager-view β’ react-native-safe-area-context β’ react-native-segmented-control β’ react-native-video β’ react-native-webview β’ realm-js β’ shopify/restyle β’ sparkfabrik-react-native-idfa-aaid β’ and many moreβ¦
Are you using RNTA? Submit a PR to add it to the list!
For a list of known issues and workarounds, please refer to the Troubleshooting wiki.
Thank you for your interest in this project! We welcome all contributions and suggestions!
Take a look at CONTRIBUTING.md for details.
react-native-test-app
is MIT licensed.
FAQs
react-native-test-app provides a test app for all supported platforms as a package
The npm package react-native-test-app receives a total of 18,401 weekly downloads. As such, react-native-test-app popularity was classified as popular.
We found that react-native-test-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socketβs precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.