react-native-test-app provides a test app for all supported platforms as a package
Перейти к файлу
Tommy Nguyen 9a0d1e1c80
fix(visionos): fix build failing when Hermes is enabled (#2308)
2024-11-06 19:43:55 +01:00
.ccache
.github chore(config): migrate config .github/renovate.json [skip ci] (#2305) 2024-11-05 08:44:21 +00:00
.vscode
.yarn
android chore(deps): update android camerax to v1.4.0-rc04 (#2288) 2024-10-24 16:15:39 +02:00
common
docs
example chore(deps): update webdriverio (#2292) 2024-10-24 15:03:58 +00:00
images Add an icon to RNTA on windows (#2003) 2024-05-08 15:02:46 -07:00
ios fix(visionos): fix build failing when Hermes is enabled (#2308) 2024-11-06 19:43:55 +01:00
macos
plugins
scripts fix: fix pnpm related errors when on 0.76 (#2301) 2024-10-31 13:30:00 +01:00
test fix(visionos): fix build failing when Hermes is enabled (#2308) 2024-11-06 19:43:55 +01:00
visionos
windows fix(windows): always enable NuGet when building New Arch (#2269) 2024-10-02 18:19:28 +02:00
.clang-format
.editorconfig
.gitattributes
.gitignore
.npmrc
.rubocop.yml fix(visionos): fix build failing when Hermes is enabled (#2308) 2024-11-06 19:43:55 +01:00
.swiftformat
.swiftlint.yml
.yarnrc.yml
Brewfile
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Gemfile
Gemfile.lock chore(deps): bump rexml from 3.3.8 to 3.3.9 (#2299) 2024-10-28 20:18:06 +01:00
LICENSE
README.md docs: add react-native-video as library using RNTA [skip ci] (#2300) 2024-10-29 15:04:00 +01:00
ReactTestApp-DevSupport.podspec
SECURITY.md
eslint.config.js
package.json fix(macos): declare support for 0.76 (#2304) 2024-11-04 07:57:38 -08:00
react-native.config.js
schema.json
test-app.gradle fix(android): avoid loading legacy autolinking script (#2291) 2024-10-22 20:05:23 +02:00
test_app.rb
tsconfig.cjs.json
tsconfig.json
yarn.lock fix(macos): declare support for 0.76 (#2304) 2024-11-04 07:57:38 -08:00

README.md

React Native Test App

Contributions Welcome Open in Visual Studio Code build npm version

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.

Quick Start

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@latest init

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 (Experimental)
◉   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.

Learn More 🔍

Libraries Using RNTA 📚

microsoft/fluentui-react-nativemicrosoft/rnx-kitBabylonReactNativecallstack/repacklottie-react-nativereact-native-add-calendar-eventreact-native-apple-authenticationreact-native-async-storagereact-native-blurreact-native-clipboardreact-native-datetimepickerreact-native-google-signinreact-native-image-editorreact-native-keychainreact-native-masked-viewreact-native-menureact-native-netinforeact-native-pager-viewreact-native-segmented-controlreact-native-videoreact-native-webviewrealm-jsshopify/restylesparkfabrik-react-native-idfa-aaidand many more…

Are you using RNTA? Submit a PR to add it to the list!

Known Issues ⚠️

For a list of known issues and workarounds, please refer to the Troubleshooting wiki.

Contributing 🤝

Thank you for your interest in this project! We welcome all contributions and suggestions!

Take a look at CONTRIBUTING.md for details.

License 📝

react-native-test-app is MIT licensed.