You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-27
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
<!-- Header -->
11
11
12
12
<palign="center">
13
-
<b>The fastest way to create universal React Native apps</b>
13
+
<b>The fastest way to create React Native apps</b>
14
14
<br />
15
15
16
16
<palign="center">
@@ -35,69 +35,57 @@
35
35
npx create-react-native-app
36
36
```
37
37
38
-
Once you're up and running with Create React Native App, visit [this tutorial](https://reactnative.dev/docs/tutorial) for more information on building mobile apps with React.
38
+
Once you're up and running with Create React Native App, visit [the tutorial on reactnative.dev](https://reactnative.dev/docs/tutorial) and [the tutorial on expo.dev](https://docs.expo.dev/tutorial/introduction/) for more information on building mobile apps with React.
- Native project ready to be built on to your device.
47
-
- Support for unimodules and auto-linking.
48
-
- OTA updates, and Gestures out of the box.
49
-
- Full support for React Native web.
50
-
- Plug-n-play custom templates.
51
-
- Works with the Expo Client app.
52
-
53
44
## Usage
54
45
55
46
-`npx create-react-native-app` Create a new native React app.
47
+
-`npx crna` Alias for `npx create-react-native-app`.
56
48
-`yarn ios` -- (`expo run:ios`) Build the iOS App (requires a MacOS computer).
57
49
-`yarn android` -- (`expo run:android`) Build the Android App.
58
50
-`yarn web` -- (`expo start:web`) Run the website in your browser.
59
51
60
52
### Templates
61
53
62
-
By default you create a [bare-workflow React](https://docs.expo.io/bare/exploring-bare-workflow/) project with support for iOS, Android, and web. You can opt to use an example project instead by selecting the "Templates from ..." option. Custom templates can be used with `--template <Example Name or GitHub URL>` option.
54
+
By default you create a [bare workflow React](https://docs.expo.dev/bare/overview/) project with support for iOS, Android, and web. The project comes preconfigured with support for [Expo Modules](https://docs.expo.dev/modules/overview/), an API writing native modules using Swift and Kotlin, and this also makes it possible to use any library in the [Expo SDK](https://docs.expo.dev/versions/latest/).
55
+
56
+
You can opt to use an example project instead by selecting the "Templates from ..." option. Custom templates can be used with `--template <Example Name or GitHub URL>` option.
63
57
64
58
- Use an [example](https://github.com/expo/examples): `npx create-react-native-app -t with-typescript`
65
59
- Use a custom template: `npx create-react-native-app --template https://github.com/someone/my-react-starter` -- Only works with GitHub repos on the master branch.
66
60
- All examples can be modified in the [expo/examples](https://github.com/expo/examples) repo.
67
61
68
62
## Sections
69
63
70
-
-[Usage with Expo Client App](#usage-with-expo-client-app)
64
+
-[Usage with Expo Go App](#usage-with-expo-go-app)
71
65
-[Support and Contact](#support-and-contact)
72
66
-[FAQs](#faqs)
73
67
-[Contributing](#contributing)
74
68
75
69
## Usage with Expo Go App
76
70
77
-
Expo Client enables you to work with all of the [Components and APIs](https://facebook.github.io/react-native/docs/getting-started) in `react-native`, as well as the [JavaScript APIs](https://docs.expo.io/versions/latest) that the are bundled with the Expo App.
78
-
79
-
Expo Client supports running any project that doesn't have custom native modules added.
71
+
Expo Go enables you to work with all of the [Components and APIs](https://facebook.github.io/react-native/docs/getting-started) in `react-native`, as well as the [JavaScript APIs](https://docs.expo.io/versions/latest) that the are bundled with the Expo app.
80
72
81
73
- Download the "Expo Go" app from the Play Store or App Store.
82
-
- Start your project with Expo
83
-
- Install the CLI `npm i -g expo-cli`
84
-
- Start the project `expo start`
85
-
- Open the project:
86
-
- Sign in to expo and the project will appear in the app.
87
-
- Or point your phone's camera at the QR code in the terminal (press "c" to view it).
74
+
- Start your project with Expo CLI: `npm start`
75
+
- Open the project by scanning the QR code in the terminal.
88
76
89
77
## Support and Contact
90
78
91
79
If you're having issues with Create React Native App, please make sure:
92
80
93
81
- The issue is not covered in the [Expo Docs](https://docs.expo.io/versions/latest/)
94
-
- There is not already an [open issue](https://github.com/expo/expo-cli/issues) for your particular problem
82
+
- There is not already an [open issue](https://github.com/expo/create-react-native-app/issues/) for your particular problem
95
83
96
-
If you've checked the documentation and currently open issues, please either [open a new GitHub issue](https://github.com/expo/create-react-native-app/issues/new) or ask a question on [Expo forums](https://forums.expo.io/c/help).
84
+
If you've checked the documentation and currently open issues, please either [open a new GitHub issue](https://github.com/expo/create-react-native-app/issues/new) or ask a question on [Expo Community Discord](https://chat.expo.dev).
97
85
98
86
## Contributing
99
87
100
-
Please see [Contributing guide](https://github.com/expo/expo-cli/blob/master/CONTRIBUTING.md)in the Expo CLI monorepo for instructions on contributing to Expo CLI.
88
+
Refer to the [Contributing guide](https://github.com/expo/create-react-native-app/blob/main/CONTRIBUTING.md) for more information.
101
89
102
90
### Attribution
103
91
@@ -107,7 +95,7 @@ The examples feature was inspired by the `templates` system of [create-next-app]
107
95
108
96
CRNA is focused on being the fastest way to bootstrap a React Native app without worrying about the native platforms or bundlers required for developing and shipping apps. Other tools provide both an init script (which is slower) and a suite of other tools that can be used for interacting with the project. CRNA is meant to be used with any of the following tools:
109
97
110
-
-[Expo CLI](https://github.com/expo/expo-cli) by [Expo team](https://expo.io)
98
+
-[Expo CLI](https://docs.expo.dev/more/expo-cli/) by [Expo team](https://expo.dev)
111
99
-[Ignite CLI](https://github.com/infinitered/ignite) by [Infinite Red](https://infinite.red/)
112
100
-[React Native Community CLI](https://github.com/react-native-community/cli) by members of [the React Native community](https://github.com/orgs/react-native-community/people)
113
101
@@ -127,7 +115,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
0 commit comments