react-native-test-app provides a test app for all supported platforms as a package
Перейти к файлу
renovate[bot] 8494cbef20
chore(deps): update dependency minitest to v5.23.1 (#2051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 11:55:42 +00:00
.ccache
.github chore(deps): update ruby/setup-ruby action to v1.176.2 (#2048) 2024-05-27 06:58:49 +00:00
.vscode fix(windows): embed app manifest directly in code (#1984) 2024-04-24 22:54:40 +00:00
.yarn chore(deps): update appium to v2.5.4 (#2006) 2024-05-01 15:09:20 +02:00
android chore(deps): update dependency com.google.android.material:material to v1.12.0 (#2038) 2024-05-14 08:28:24 +02:00
common
example chore(deps): update typescript type definitions (#2032) 2024-05-13 08:19:18 +02:00
images Add an icon to RNTA on windows (#2003) 2024-05-08 15:02:46 -07:00
ios refactor(apple): move manifest writing to build phase (#2030) 2024-05-10 11:35:58 +02:00
macos refactor(apple): move manifest writing to build phase (#2030) 2024-05-10 11:35:58 +02:00
plugins fix: bump `@rnx-kit/react-native-host` to 0.4.0 (#1775) 2024-01-17 15:30:55 +01:00
scripts refactor(windows): move manifest writing to MSBuild target (#2031) 2024-05-14 09:10:54 +01:00
test refactor(windows): move manifest writing to MSBuild target (#2031) 2024-05-14 09:10:54 +01:00
visionos refactor(apple): move manifest writing to build phase (#2030) 2024-05-10 11:35:58 +02:00
windows refactor(windows): move manifest writing to MSBuild target (#2031) 2024-05-14 09:10:54 +01:00
.clang-format
.editorconfig
.gitattributes chore: don't perform eol conversion on script files (#1945) 2024-04-03 13:47:19 +01:00
.gitignore chore: remove need for creating `dist` folder (#1869) 2024-02-23 10:49:45 +00:00
.npmrc
.rubocop.yml refactor(apple): move `generate_*` functions to separate files (#2009) 2024-05-02 13:23:57 +02:00
.swiftformat chore: add template for new major releases [skip ci] (#2041) 2024-05-14 11:43:41 +01:00
.swiftlint.yml
.yarnrc.yml chore: lift hoisting limits (#1856) 2024-02-21 11:23:32 +00:00
Brewfile
CODE_OF_CONDUCT.md docs: update `CODE_OF_CONDUCT.md` template [skip ci] (#2039) 2024-05-14 07:57:17 +02:00
CONTRIBUTING.md docs: add how we do release announcements (#2029) 2024-05-09 16:01:10 +02:00
Gemfile refactor(apple): use xcodeproj's built-in plist support (#2014) 2024-05-03 15:40:43 +02:00
Gemfile.lock chore(deps): update dependency minitest to v5.23.1 (#2051) 2024-05-27 11:55:42 +00:00
LICENSE
README.md docs: fix reflow of list of known users on smaller screens (#1953) 2024-04-08 12:27:08 +02:00
ReactTestApp-DevSupport.podspec feat: add visionOS support (#1803) 2024-03-12 09:08:16 +01:00
SECURITY.md
eslint.config.js
package.json chore(deps): update dependency semver to v7.6.2 (#2042) 2024-05-16 11:58:50 +00:00
react-native.config.js
schema.json docs: add history details (#2022) 2024-05-07 13:02:12 +02:00
test-app.gradle fix(android): ensure generated assets are included (#2012) 2024-05-03 11:49:31 +02:00
test_app.rb
tsconfig.esm.json
tsconfig.json fix: convert scripts to ESM (#1870) 2024-02-24 10:06:06 +01:00
yarn.lock chore(deps): update webdriverio (#2049) 2024-05-27 06:54:55 +00: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
◉   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-kitreact-native-add-calendar-eventreact-native-apple-authenticationreact-native-async-storagereact-native-blurreact-native-clipboardreact-native-datetimepickerreact-native-google-signinreact-native-image-editorreact-native-masked-viewreact-native-menureact-native-netinforeact-native-segmented-controlreact-native-webviewrealm/realm-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.