Phecda

chore: add react-navigation@5

@@ -179,6 +179,8 @@ android { @@ -179,6 +179,8 @@ android {
179 } 179 }
180 180
181 dependencies { 181 dependencies {
  182 + implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
  183 + implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
182 implementation fileTree(dir: "libs", include: ["*.jar"]) 184 implementation fileTree(dir: "libs", include: ["*.jar"])
183 implementation "com.facebook.react:react-native:+" // From node_modules 185 implementation "com.facebook.react:react-native:+" // From node_modules
184 186
@@ -2,8 +2,9 @@ @@ -2,8 +2,9 @@
2 * @format 2 * @format
3 */ 3 */
4 4
5 -import {AppRegistry} from 'react-native'; 5 +import 'react-native-gesture-handler';
  6 +import { AppRegistry } from 'react-native';
6 import App from './App'; 7 import App from './App';
7 -import {name as appName} from './app.json'; 8 +import { name as appName } from './app.json';
8 9
9 AppRegistry.registerComponent(appName, () => App); 10 AppRegistry.registerComponent(appName, () => App);
@@ -182,6 +182,8 @@ PODS: @@ -182,6 +182,8 @@ PODS:
182 - React-cxxreact (= 0.61.5) 182 - React-cxxreact (= 0.61.5)
183 - React-jsi (= 0.61.5) 183 - React-jsi (= 0.61.5)
184 - React-jsinspector (0.61.5) 184 - React-jsinspector (0.61.5)
  185 + - react-native-safe-area-context (0.7.3):
  186 + - React
185 - React-RCTActionSheet (0.61.5): 187 - React-RCTActionSheet (0.61.5):
186 - React-Core/RCTActionSheetHeaders (= 0.61.5) 188 - React-Core/RCTActionSheetHeaders (= 0.61.5)
187 - React-RCTAnimation (0.61.5): 189 - React-RCTAnimation (0.61.5):
@@ -217,6 +219,14 @@ PODS: @@ -217,6 +219,14 @@ PODS:
217 - React-cxxreact (= 0.61.5) 219 - React-cxxreact (= 0.61.5)
218 - React-jsi (= 0.61.5) 220 - React-jsi (= 0.61.5)
219 - ReactCommon/jscallinvoker (= 0.61.5) 221 - ReactCommon/jscallinvoker (= 0.61.5)
  222 + - RNCMaskedView (0.1.7):
  223 + - React
  224 + - RNGestureHandler (1.6.0):
  225 + - React
  226 + - RNReanimated (1.7.0):
  227 + - React
  228 + - RNScreens (2.2.0):
  229 + - React
220 - Yoga (1.14.0) 230 - Yoga (1.14.0)
221 231
222 DEPENDENCIES: 232 DEPENDENCIES:
@@ -236,6 +246,7 @@ DEPENDENCIES: @@ -236,6 +246,7 @@ DEPENDENCIES:
236 - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 246 - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
237 - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 247 - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
238 - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 248 - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
  249 + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
239 - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 250 - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
240 - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 251 - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
241 - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 252 - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
@@ -247,6 +258,10 @@ DEPENDENCIES: @@ -247,6 +258,10 @@ DEPENDENCIES:
247 - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 258 - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
248 - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`) 259 - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
249 - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 260 - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
  261 + - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
  262 + - RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
  263 + - RNReanimated (from `../node_modules/react-native-reanimated`)
  264 + - RNScreens (from `../node_modules/react-native-screens`)
250 - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 265 - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
251 266
252 SPEC REPOS: 267 SPEC REPOS:
@@ -282,6 +297,8 @@ EXTERNAL SOURCES: @@ -282,6 +297,8 @@ EXTERNAL SOURCES:
282 :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 297 :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
283 React-jsinspector: 298 React-jsinspector:
284 :path: "../node_modules/react-native/ReactCommon/jsinspector" 299 :path: "../node_modules/react-native/ReactCommon/jsinspector"
  300 + react-native-safe-area-context:
  301 + :path: "../node_modules/react-native-safe-area-context"
285 React-RCTActionSheet: 302 React-RCTActionSheet:
286 :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 303 :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
287 React-RCTAnimation: 304 React-RCTAnimation:
@@ -302,6 +319,14 @@ EXTERNAL SOURCES: @@ -302,6 +319,14 @@ EXTERNAL SOURCES:
302 :path: "../node_modules/react-native/Libraries/Vibration" 319 :path: "../node_modules/react-native/Libraries/Vibration"
303 ReactCommon: 320 ReactCommon:
304 :path: "../node_modules/react-native/ReactCommon" 321 :path: "../node_modules/react-native/ReactCommon"
  322 + RNCMaskedView:
  323 + :path: "../node_modules/@react-native-community/masked-view"
  324 + RNGestureHandler:
  325 + :path: "../node_modules/react-native-gesture-handler"
  326 + RNReanimated:
  327 + :path: "../node_modules/react-native-reanimated"
  328 + RNScreens:
  329 + :path: "../node_modules/react-native-screens"
305 Yoga: 330 Yoga:
306 :path: "../node_modules/react-native/ReactCommon/yoga" 331 :path: "../node_modules/react-native/ReactCommon/yoga"
307 332
@@ -321,6 +346,7 @@ SPEC CHECKSUMS: @@ -321,6 +346,7 @@ SPEC CHECKSUMS:
321 React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7 346 React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
322 React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386 347 React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
323 React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0 348 React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
  349 + react-native-safe-area-context: e200d4433aba6b7e60b52da5f37af11f7a0b0392
324 React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76 350 React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
325 React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360 351 React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
326 React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72 352 React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72
@@ -331,6 +357,10 @@ SPEC CHECKSUMS: @@ -331,6 +357,10 @@ SPEC CHECKSUMS:
331 React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe 357 React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe
332 React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad 358 React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad
333 ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd 359 ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd
  360 + RNCMaskedView: 76c40a1d41c3e2535df09246a2b5487f04de0814
  361 + RNGestureHandler: dde546180bf24af0b5f737c8ad04b6f3fa51609a
  362 + RNReanimated: 031fe8d9ea93c2bd689a40f05320ef9d96f74d7f
  363 + RNScreens: 812b79d384e2bea7eebc4ec981469160d4948fd5
334 Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b 364 Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
335 365
336 PODFILE CHECKSUM: ad4c3998d58868407224af05ed79c54dc0c9aa70 366 PODFILE CHECKSUM: ad4c3998d58868407224af05ed79c54dc0c9aa70
@@ -11,8 +11,19 @@ @@ -11,8 +11,19 @@
11 "commit": "git-cz" 11 "commit": "git-cz"
12 }, 12 },
13 "dependencies": { 13 "dependencies": {
  14 + "@react-native-community/masked-view": "^0.1.7",
  15 + "@react-navigation/bottom-tabs": "^5.1.0",
  16 + "@react-navigation/drawer": "^5.1.0",
  17 + "@react-navigation/material-top-tabs": "^5.1.0",
  18 + "@react-navigation/native": "^5.0.8",
  19 + "@react-navigation/stack": "^5.1.0",
14 "react": "16.9.0", 20 "react": "16.9.0",
15 - "react-native": "0.61.5" 21 + "react-native": "0.61.5",
  22 + "react-native-gesture-handler": "^1.6.0",
  23 + "react-native-reanimated": "^1.7.0",
  24 + "react-native-safe-area-context": "^0.7.3",
  25 + "react-native-screens": "^2.2.0",
  26 + "react-native-tab-view": "^2.13.0"
16 }, 27 },
17 "devDependencies": { 28 "devDependencies": {
18 "@babel/core": "^7.6.2", 29 "@babel/core": "^7.6.2",
This diff is collapsed. Click to expand it.