A framework for building native macOS apps with React.
Перейти к файлу
Anandraj 0b3c3a806f
Publish verification in PR job (#474)
* Fixing OS specific failure in publish task

* Adding publish verfification into the PR job

* Adding some comments.

* Removing the diagnostic logs
2020-06-30 09:56:54 -07:00
.ado Publish verification in PR job (#474) 2020-06-30 09:56:54 -07:00
.appveyor Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.circleci Disable Circle CI release in fork (#352) 2020-05-07 19:41:54 -07:00
.github Disable redundant/un-passable CircleCI tests, update Pull Request template, and other cleanup (#350) 2020-05-07 18:49:34 -07:00
Folly Add postInstall step to restore the executable bit on scripts. (#244) 2020-01-29 17:59:18 -08:00
IntegrationTests Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
Libraries Implemented AccessibilityInfo.announceForAccessibility (#470) 2020-06-30 09:56:18 -07:00
RNTester Implementing AccessibilityInfo.DisplayOptions ex: isInvertColorsEnabled (#455) 2020-06-18 18:19:18 -07:00
React Implemented AccessibilityInfo.announceForAccessibility (#470) 2020-06-30 09:56:18 -07:00
ReactAndroid Restore the Office npm package size (#341) 2020-05-04 22:00:20 -07:00
ReactApple Removed geolocation targets from nuspec as they are not longer in the repo. Added <repository type="git" url="$repoUri$" commit="$commitId$" /> which is needed to record the relevent meta data about the publish. Removed an obsolete comment. (#197) 2019-12-02 09:28:08 -08:00
ReactCommon Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
android-patches Switching the build pipleine to run on Ubuntu image (#456) 2020-06-18 09:51:53 -07:00
bots Fix macOS Alert API issues (#355) 2020-05-11 16:24:12 -07:00
danger lint fixes 2019-09-18 16:37:05 -07:00
double-conversion Remove nmake (#112) 2019-07-17 13:13:16 -07:00
flow Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
flow-typed/npm remove deprecated utilities 2019-01-15 13:59:31 -08:00
follybuild Reduce differences between our folly and facebook folly (#138) 2019-08-12 17:25:15 -07:00
glog Add postInstall step to restore the executable bit on scripts. (#244) 2020-01-29 17:59:18 -08:00
gradle/wrapper Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
jest Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
jsc Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
keystores put RN58 back 2019-03-28 13:44:57 -07:00
local-cli set autorecalculatesKeyView to YES in the init template (#377) 2020-05-19 11:43:05 -07:00
metadata Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
packages applying package updates ***NO_CI*** 2020-05-18 23:31:12 +00:00
processor Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
scripts Fix Dimension for macOS (#348) 2020-05-07 19:58:08 -07:00
stubs/glog put RN58 back 2019-03-28 13:44:57 -07:00
template Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
third-party-podspecs Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
tools/build_defs Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
v8-docker-build Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
website/server Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
.buckconfig put RN58 back 2019-03-28 13:44:57 -07:00
.buckjavaargs
.clang-format Moving ObjC specific clang-format rules to the common config 2019-02-11 13:07:09 -08:00
.editorconfig Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.eslintignore Add `react-native-macos-init` for adding macOS apps to existing `react-native init` projects. (#291) 2020-04-01 17:22:01 -07:00
.eslintrc Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.flowconfig Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.flowconfig.android Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.flowconfig.macos Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.gitattributes react-native-macos npm publishing with CRLF text files (#331) 2020-05-01 14:05:53 -07:00
.github.flowconfig.android Add test to sync RN github flow configs 2018-08-13 21:38:58 +01:00
.gitignore Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.nvmrc Add .nvmrc + fix node version for eslint 5 compat (#20109) 2018-07-31 02:34:16 -07:00
.prettierignore Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
.prettierrc Set the Prettier config so it is not forced on users of @react-native-community/eslint-config (#24635) 2019-04-29 09:44:51 -07:00
Brewfile Add Apple PR to github actions (#159) 2019-09-12 10:29:18 -07:00
CHANGELOG.json sync from internal (#6) 2019-03-07 14:57:20 -08:00
CHANGELOG.md sync from internal (#6) 2019-03-07 14:57:20 -08:00
CODE_OF_CONDUCT.md put RN58 back 2019-03-28 13:44:57 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md (#325) 2020-05-06 12:00:43 -07:00
ECOSYSTEM.md Add document describing the RN ecosystem. (#24493) 2019-04-17 09:06:37 -07:00
KeepingRecent.md fix up some minor spacing issues with the numbering indentations (#213) 2020-01-03 14:17:03 -08:00
LICENSE put RN58 back 2019-03-28 13:44:57 -07:00
LICENSE-docs
README.md Update README.md (#343) 2020-05-06 12:16:11 -07:00
React-Core.podspec Adds AccessibilityInfo.isScreenReaderEnabled to RN MacOS (#444) 2020-06-11 12:30:58 -07:00
React.podspec Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
Releases.md put RN58 back 2019-03-28 13:44:57 -07:00
build.gradle.kts Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
cli.js Show full price instead of monthly price within the lead form 2019-03-28 16:07:19 -07:00
gradlew bump Gradle to 5.4.1 (#24542) 2019-04-27 00:10:04 -07:00
gradlew.bat bump Gradle to 5.4.1 (#24542) 2019-04-27 00:10:04 -07:00
jest-preset.js fix yarn tests (#351) 2020-05-07 17:18:38 -07:00
jest.config.js fix yarn tests (#351) 2020-05-07 17:18:38 -07:00
metro.config.js Fix react-native-macos package name and version (#333) 2020-05-01 22:28:16 -07:00
package.json Applying package update to 0.61.53 ***NO_CI*** 2020-06-29 21:38:10 +00:00
react-native.config.js Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
react.gradle Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
rn-get-polyfills.js Remove Polyfills from RN Open Source 2019-04-04 15:20:33 -07:00
runXcodeTests.sh Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
settings.gradle.kts Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
template.config.js Improvement: Adjust template to match new init command (#24138) 2019-04-01 16:25:48 -07:00
yarn.lock Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00

README.md

React Native for macOS

Build native macOS apps with React.

React Native for macOS is released under the MIT license. Current npm package version. PRs welcome!

See the official React Native website for an introduction to React Native.

React Native is a framework developed by Facebook that enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.

This repository is a working fork of facebook/react-native that adds support for the official React Native for macOS implementation from Microsoft.

You can read more about the macOS implementation in our website - React Native for Windows and Mac

Contents

Requirements

You can run React Native for macOS apps on Mac devices with versions Mojave (10.14.6) or newer.

For a full and detailed list of the system requirements and how to set up your development platform, see our System Requirements documentation on our website.

Getting Started

See the Getting Started Guide on our React Native for Windows and Mac website to build your first React Native for macOS app.

Logging Issues

Search the existing issues and try to make sure your problem doesnt already exist before opening a new issue. If your issue doesn't exist yet, try to make sure you provide as much information as possible to us so we can help you sooner. Its helpful if you include information like:

  • The version of macOS, React Native, React Native macOS extension where you ran into the issue.
  • A stack trace and reduced repro case when possible.
  • Ensure the appropriate template is used when filing your issue(s).

Contributing

See Contributing guidelines for how to setup your fork of the repo and start a PR to contribute to React Native for macOS.

Good First Issue and help wanted are great starting points for PRs.

Documentation

React Native already has great documentation and we're working to ensure the React Native for Windows and Mac are part of that documentation story.

React Native for Windows and Mac has it's own separate documentation site where Windows and Mac specific information, like API docs and blog updates live. We are bootstrapping documentation for macOS at this time, tune in for updates.

Examples

  • Using the CLI in the Getting Started guide will set you up with a sample React Native for macOS app that you can begin editing right away.
  • If you're looking for sample code, just browse the RNTester folder for examples

License

The React Native for macOS extension, including modifications to the original Facebook source code, and all newly contributed code is provided under the MIT License. Portions of the React Native for macOS extension derived from React Native are copyright Facebook.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.