react-native-test-app provides a test app for all supported platforms as a package
Перейти к файлу
renovate[bot] 44f1342b16
chore(deps): update dependency @react-native-community/template to v0.75.5 (#2225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 08:51:10 +02:00
.ccache ci: ccache keeps accumulating cruft, making setup slower (#1393) 2023-04-14 13:18:04 +02:00
.github chore: bump react-native to 0.75 (#2205) 2024-09-04 11:53:31 +02:00
.vscode fix(windows): embed app manifest directly in code (#1984) 2024-04-24 22:54:40 +00:00
.yarn chore(deps): update yarn to v4.4.0 (#2184) 2024-08-19 08:57:25 +02:00
android fix(android): bump Gradle wrapper version for 0.76 (#2216) 2024-09-10 17:02:31 +02:00
common fix: ignore exception thrown when `AppRegistry` is missing (#763) 2022-02-14 11:35:19 +01:00
docs docs: add docs for `android.features`/`android.permissions` (#2077) 2024-06-14 20:53:49 +02:00
example chore(deps): update dependency @react-native-webapis/web-storage to ^0.3.0 (#2220) 2024-09-11 10:58:40 +00:00
images Add an icon to RNTA on windows (#2003) 2024-05-08 15:02:46 -07:00
ios feat(apple): add `:build_setting_overrides` to options (#2204) 2024-09-04 21:42:03 +02:00
macos fix(macos): add anchor points for `applicationWillFinishLaunching(_:)` (#2188) 2024-08-19 15:44:24 +02:00
plugins feat(macos): add macOS support for config plugins (#2160) 2024-08-01 19:53:36 +02:00
scripts chore: update `set-react-version` to handle missing `@react-native-community/cli` (#2221) 2024-09-13 13:20:54 +02:00
test fix(deps): update dependency @rnx-kit/react-native-host to ^0.5.0 (#2218) 2024-09-11 08:15:08 +00:00
visionos refactor(apple): use `SCRIPT_OUTPUT_FILE_0` instead of path (#2056) 2024-05-29 08:37:13 -05:00
windows fix(deps): update dependency @rnx-kit/react-native-host to ^0.5.0 (#2218) 2024-09-11 08:15:08 +00:00
.clang-format fix(ios): replace QRCodeReader with custom implementation (#677) 2022-01-03 12:49:57 +01:00
.editorconfig ci: bump Node to v20 (LTS) (#1673) 2023-10-24 12:07:31 +02:00
.gitattributes chore: don't perform eol conversion on script files (#1945) 2024-04-03 13:47:19 +01:00
.gitignore fix(macos): declare support for 0.75 (#2199) 2024-09-02 18:53:29 +02:00
.npmrc docs: prefer `npx` over `yarn` to be more package manager agnostic (#886) 2022-04-29 13:07:36 +02:00
.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 chore(Apple): Use SwiftFormat (#245) 2020-11-16 11:20:09 +01:00
.yarnrc.yml chore(deps): update yarn to v4.4.0 (#2184) 2024-08-19 08:57:25 +02:00
Brewfile fix: declare support for 0.73 (#1690) 2023-11-30 18:01:57 +01:00
CODE_OF_CONDUCT.md docs: update `CODE_OF_CONDUCT.md` template [skip ci] (#2039) 2024-05-14 07:57:17 +02:00
CONTRIBUTING.md chore: organize scripts into separate folders (#2193) 2024-08-21 16:44:25 +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 rubocop-minitest to v0.36.0 (#2213) 2024-09-09 14:34:09 +00:00
LICENSE Initial LICENSE commit 2020-01-20 05:22:24 -08:00
README.md docs: add more users [skip ci] (#2143) 2024-07-22 15:33:40 +02:00
ReactTestApp-DevSupport.podspec feat: add visionOS support (#1803) 2024-03-12 09:08:16 +01:00
SECURITY.md Initial SECURITY.md commit 2020-01-20 05:22:25 -08:00
eslint.config.js chore: organize scripts into separate folders (#2193) 2024-08-21 16:44:25 +02:00
package.json chore(deps): update dependency body-parser to v1.20.3 [security] (#2219) 2024-09-11 08:36:55 +00:00
react-native.config.js fix(init): consolidate `init-test-app` command (#1563) 2023-09-04 16:24:45 +02:00
schema.json docs: add docs for `android.features`/`android.permissions` (#2077) 2024-06-14 20:53:49 +02:00
test-app.gradle fix(android): bump Gradle wrapper version for 0.76 (#2216) 2024-09-10 17:02:31 +02:00
test_app.rb docs: remove copyright header from all files (#667) 2022-01-05 13:15:59 +01:00
tsconfig.cjs.json refactor: use `String.replaceAll()` instead of `.replace()` with regex (#2090) 2024-06-18 07:56:22 +02:00
tsconfig.json fix(deps): update dependency @rnx-kit/react-native-host to ^0.5.0 (#2218) 2024-09-11 08:15:08 +00:00
yarn.lock chore(deps): update dependency @react-native-community/template to v0.75.5 (#2225) 2024-09-16 08:51:10 +02: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-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-masked-viewreact-native-menureact-native-netinforeact-native-segmented-controlreact-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.