Summary:Remove Trailing Spaces. Why: Sometimes there are conflicts with trailing spaces Saves space Those whose tools automatically delete them will have their pr watered down with trailing space removal Closes https://github.com/facebook/react-native/pull/6787 Differential Revision: D3144704 fb-gh-sync-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8 fbshipit-source-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8
1.6 KiB
id | title | layout | category | permalink | next |
---|---|---|---|---|---|
linux-windows-support | Linux and Windows Support | docs | Quick Start | docs/linux-windows-support.html | tutorial |
NOTE: This guide focuses on Android development. You'll need a Mac to build iOS apps.
As React Native on iOS requires a Mac and most of the engineers at Facebook and contributors use Macs, support for OS X is a top priority. However, we would like to support developers using Linux and Windows too. We believe we'll get the best Linux and Windows support from people using these operating systems on a daily basis.
Therefore, Linux and Windows support for the development environment is an ongoing community responsibility. This can mean filing issues and submitting PRs, and we'll help review and merge them. We are looking forward to your contributions and appreciate your patience.
As of version 0.14 Android development with React native is mostly possible on Linux and Windows. You'll need to install Node.js 4.0 or newer. On Linux we recommend installing watchman, otherwise you might hit a node file watching bug.
What's missing on Windows
On Windows the packager won't be started automatically when you run react-native run-android
. You can start it manually using:
cd MyAwesomeApp
react-native start
If you hit a ERROR Watcher took too long to load
on Windows, try increasing the timeout in this file (under your node_modules/react-native/
).