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
@@ -53,6 +61,7 @@ Jumpstart building robust apps using React Native and TypeScript with most commo
53
61
-[Project Structure](#project-structure)
54
62
-[Getting Started](#getting-started)
55
63
-[Cheat Sheet](#cheat-sheet)
64
+
-[M1 support](#m1-support)
56
65
-[Single Screen vs Tabbed Based Navigation](#single-screen-vs-tabbed-based-navigation)
57
66
-[Renaming the App](#renaming-the-app)
58
67
-[iOS Launch Screen](#ios-launch-screen)
@@ -64,8 +73,8 @@ Jumpstart building robust apps using React Native and TypeScript with most commo
64
73
65
74
```
66
75
/
67
-
├── android Android Native code
68
-
├── ios iOS Native Code
76
+
├── android Android Native code
77
+
├── ios iOS Native Code
69
78
├── shared
70
79
│ ├── redux Applications Logic
71
80
│ │ ├── constants
@@ -75,16 +84,22 @@ Jumpstart building robust apps using React Native and TypeScript with most commo
75
84
│ │ ├── store
76
85
│ │ └── thunk
77
86
│ └── utilities
87
+
│ ├── services
88
+
│ │ ├── core Core Services - API (fetch/axios), storage
89
+
│ │ │ ├── API
90
+
│ │ │ └── Storage
91
+
│ │ ├── home
92
+
│ │ └── search
78
93
├── src
79
94
│ ├── config Global Configuration
80
-
│ ├── constants Screens, Localization
95
+
│ ├── constants Screen names and ids, Localization
81
96
│ ├── navigators Router, Navigation
82
97
│ ├── view UI compoments
83
-
│ │ ├── elements Custom elements
98
+
│ │ ├── elements Custom elements
84
99
│ │ ├── assets
85
100
│ │ ├── screens
86
-
│ │ ├── styles Typography
87
-
│ │ └── widgets Custom components
101
+
│ │ ├── styles Typography
102
+
│ │ └── widgets Custom components
88
103
│ └── utilities
89
104
├── __tests__ Unit Tests
90
105
│ ├── presentation
@@ -109,7 +124,7 @@ Presentation layer for the app - screens, styles, images, icons etc.
109
124
110
125
### Getting Started
111
126
112
-
Make sure node version installed is `>=10.x.x`. Then install using yarn (or npm):
127
+
Make sure node version installed is `>=12.x.x`. Then install using yarn (or npm):
113
128
```
114
129
yarn install
115
130
```
@@ -181,6 +196,22 @@ Change the 3 images here to set the new launch screen for iOS.
181
196
182
197
Change the images the `drawable-*` folders to set the new launch screen for Android.
183
198
199
+
#### M1 support
200
+
Some additional steps may be required for project to work on M1.
201
+
202
+
- Disable Rosetta in Terminal
203
+
- Install ffi
204
+
```
205
+
sudo arch -x86_64 gem install ffi
206
+
```
207
+
- Re-install dependencies
208
+
```
209
+
arch -x86_64 pod install
210
+
```
211
+
Now try and run CocoaPods.
212
+
213
+
P.S.: Thanks to samanthadotcom#7043 (discord)
214
+
184
215
#### Single Screen vs Tabbed Based Navigation
185
216
186
217
The application launches with a splash screen, and then moves to a tabbed based navigation. Splash screen is a good place to fetch data / build application launch logic like getting user token from API or Async Store, load persist state etc.
0 commit comments