A framework for building native macOS apps with React.
Перейти к файлу
Anandraj Govindan c2dece7f54 Some changes for geting clean devmain build 2020-05-18 21:24:33 -07:00
.ado Some changes for geting clean devmain build 2020-05-18 21:24:33 -07:00
.appveyor Merge react-native 0.61-stable (#323) 2020-04-28 11:49:15 -07:00
.circleci Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
.github Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
Folly Add postInstall step to restore the executable bit on scripts. (#244) 2020-01-29 17:59:18 -08:00
IntegrationTests Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
Libraries Make RNTester launch without any redbox errors (#372) 2020-05-18 16:29:43 -07:00
RNTester Merge with latest and get macOS building 2020-05-16 10:25:44 -07:00
React Merge with latest and get macOS building 2020-05-16 10:25:44 -07:00
ReactAndroid Some changes for geting clean devmain build 2020-05-18 21:24:33 -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 Make macOS build 2020-05-16 10:20:37 -07:00
android-patches Some changes for geting clean devmain build 2020-05-18 21:24:33 -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
docs Remove remaining merge marker and begin on flow/build issues 2020-05-10 17:52:09 -07:00
double-conversion Remove nmake (#112) 2019-07-17 13:13:16 -07:00
flow Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
flow-typed/npm Convert easy files to flow strict-local 2019-12-05 16:06:46 -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 Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
jest Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -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 install and link macOS Pods automatically on init (#366) 2020-05-15 14:29:13 -07:00
metadata Initial commit of internal changes. 2019-03-01 10:09:07 -08:00
packages Resolved more merge conflicts. 2020-04-30 20:33:02 -07:00
processor Moving the android specific changes to patch files and reverting them… (#254) 2020-03-18 18:20:08 -07:00
scripts Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
stubs/glog put RN58 back 2019-03-28 13:44:57 -07:00
template Resolved more merge conflicts. 2020-04-30 20:33:02 -07:00
third-party-podspecs Resolved more merge conflicts. 2020-04-30 20:33:02 -07:00
tools/build_defs Resolved more merge conflicts. 2020-04-30 20:33:02 -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 Migrate to FBJNI (#27729) 2020-02-05 11:02:13 +00:00
.buckjavaargs limiting BUCK's memory for CI 2016-02-01 10:49:33 -08:00
.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 Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
.flowconfig Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
.flowconfig.android Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -07:00
.flowconfig.macos Fix .flowconfig.macos 2020-05-15 16:08: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 'Re-sync with internal repository' 2018-08-16 16:16:49 -07:00
.gitignore Removed merge conflict markers up to and including Libraries/Image 2020-04-30 17:49:51 -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 Adopt Contributor Covenant 2019-08-29 23:21:10 -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 More licenses 2015-03-24 19:59:10 -07:00
README.md Update README.md (#343) 2020-05-06 12:16:11 -07:00
React-Core.podspec Make macOS build 2020-05-16 10:20:37 -07:00
React.podspec Merge remote-tracking branch 'fb/0.62-stable' into fb62merge 2020-04-29 16:07:43 -07:00
Releases.md put RN58 back 2019-03-28 13:44:57 -07:00
build.gradle.kts Resolving android sources 2020-04-29 22:54:16 -07:00
cli.js Show full price instead of monthly price within the lead form 2019-03-28 16:07:19 -07:00
gradlew Update Gradle wrapper to 5.6.2 (#26349) 2019-09-06 00:25:53 -07:00
gradlew.bat Update Gradle wrapper to 5.6 (#26079) 2019-08-26 12:13:37 -07:00
index.js chore: update url of warning message from deprecated imports (#28452) 2020-04-03 15:33:59 +02:00
interface.js Move `react-native-implementation.js` to `index.js` 2019-09-12 03:29:51 -07:00
jest-preset.js fix yarn tests (#351) 2020-05-07 17:18:38 -07:00
jest.config.js Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
metro.config.js Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-07 20:11:26 -07:00
package.json Merge remote-tracking branch 'origin/master' into fb62merge 2020-05-15 15:45:54 -07:00
react-native.config.js Merge remote-tracking branch 'fb/0.62-stable' into fb62merge 2020-04-29 16:07:43 -07:00
react.gradle Resolving android sources 2020-04-29 22:54:16 -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 Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
yarn.lock Merged package.jsons and React-core.podspec 2020-04-29 16:34:59 -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.