From 1cd165e7637dc96517af2aefceadbf0d28094209 Mon Sep 17 00:00:00 2001 From: Krzysztof Magiera Date: Thu, 13 Dec 2018 16:51:42 +0100 Subject: [PATCH] Use react-navigation v3 --- Example/App.js | 8 +- Example/android/app/build.gradle | 1 + .../rnscreens/example/MainActivity.java | 13 ++ .../rnscreens/example/MainApplication.java | 2 + Example/android/settings.gradle | 2 + .../ScreensExample.xcodeproj/project.pbxproj | 42 ++++++ Example/navigation/index.js | 12 +- Example/package.json | 3 +- Example/yarn.lock | 133 +++++++++--------- 9 files changed, 140 insertions(+), 76 deletions(-) diff --git a/Example/App.js b/Example/App.js index acf0c6a2..56234259 100644 --- a/Example/App.js +++ b/Example/App.js @@ -6,7 +6,11 @@ import { StyleSheet, TouchableHighlight, } from 'react-native'; -import { createStackNavigator, createSwitchNavigator } from 'react-navigation'; +import { + createStackNavigator, + createSwitchNavigator, + createAppContainer, +} from 'react-navigation'; import { useScreens } from 'react-native-screens'; import Stack from './stack'; @@ -94,4 +98,4 @@ const styles = StyleSheet.create({ }, }); -export default ExampleApp; +export default createAppContainer(ExampleApp); diff --git a/Example/android/app/build.gradle b/Example/android/app/build.gradle index a3bc88e1..bd0a7c56 100644 --- a/Example/android/app/build.gradle +++ b/Example/android/app/build.gradle @@ -137,6 +137,7 @@ android { } dependencies { + compile project(':react-native-gesture-handler') compile project(':react-native-screens') compile fileTree(dir: "libs", include: ["*.jar"]) compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" diff --git a/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainActivity.java b/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainActivity.java index a0578359..68eb4101 100644 --- a/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainActivity.java +++ b/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainActivity.java @@ -3,6 +3,9 @@ package com.swmansion.rnscreens.example; import android.os.Bundle; import com.facebook.react.ReactFragmentActivity; +import com.facebook.react.ReactActivityDelegate; +import com.facebook.react.ReactRootView; +import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView; public class MainActivity extends ReactFragmentActivity { @@ -19,4 +22,14 @@ public class MainActivity extends ReactFragmentActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(null); } + + @Override + protected ReactActivityDelegate createReactActivityDelegate() { + return new ReactActivityDelegate(this, getMainComponentName()) { + @Override + protected ReactRootView createRootView() { + return new RNGestureHandlerEnabledRootView(MainActivity.this); + } + }; + } } diff --git a/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainApplication.java b/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainApplication.java index 31bcbba3..ab9957d1 100644 --- a/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainApplication.java +++ b/Example/android/app/src/main/java/com/swmansion/rnscreens/example/MainApplication.java @@ -3,6 +3,7 @@ package com.swmansion.rnscreens.example; import android.app.Application; import com.facebook.react.ReactApplication; +import com.swmansion.gesturehandler.react.RNGestureHandlerPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; @@ -41,6 +42,7 @@ public class MainApplication extends Application implements ReactApplication { protected List getPackages() { return Arrays.asList( new MainReactPackage(), + new RNGestureHandlerPackage(), new RNScreensPackage(), new MyPackage() ); diff --git a/Example/android/settings.gradle b/Example/android/settings.gradle index 1b2476df..9aa1b9c2 100644 --- a/Example/android/settings.gradle +++ b/Example/android/settings.gradle @@ -1,4 +1,6 @@ rootProject.name = 'ScreensExample' +include ':react-native-gesture-handler' +project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android') include ':react-native-screens' project(':react-native-screens').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-screens/android') diff --git a/Example/ios/ScreensExample.xcodeproj/project.pbxproj b/Example/ios/ScreensExample.xcodeproj/project.pbxproj index 7b2c4bf9..32343f69 100644 --- a/Example/ios/ScreensExample.xcodeproj/project.pbxproj +++ b/Example/ios/ScreensExample.xcodeproj/project.pbxproj @@ -23,6 +23,7 @@ 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 44BCAFE3213FB64300CF39F1 /* RNSSampleLifecycleAwareView.m in Sources */ = {isa = PBXBuildFile; fileRef = 44BCAFBC213FB64200CF39F1 /* RNSSampleLifecycleAwareView.m */; }; 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; + 77ABC0AF56DD414DAB943E0B /* libRNGestureHandler.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F925F08AD9974204A8E18709 /* libRNGestureHandler.a */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; /* End PBXBuildFile section */ @@ -252,6 +253,13 @@ remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; remoteInfo = "jschelpers-tvOS"; }; + 44C423ED21C131FD00649BF0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3607E48A55664C85AE714A7F /* RNGestureHandler.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 134814201AA4EA6300B7C361; + remoteInfo = RNGestureHandler; + }; 44EE371F2114711800CFFB90 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 67AE6A76A20748599699123B /* RNScreens.xcodeproj */; @@ -316,6 +324,7 @@ 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ScreensExample/main.m; sourceTree = ""; }; 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 3607E48A55664C85AE714A7F /* RNGestureHandler.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNGestureHandler.xcodeproj; path = "../node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj"; sourceTree = ""; }; 44BCAFBC213FB64200CF39F1 /* RNSSampleLifecycleAwareView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNSSampleLifecycleAwareView.m; path = ScreensExample/RNSSampleLifecycleAwareView.m; sourceTree = ""; }; 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 67AE6A76A20748599699123B /* RNScreens.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNScreens.xcodeproj; path = "../node_modules/react-native-screens/ios/RNScreens.xcodeproj"; sourceTree = ""; }; @@ -323,6 +332,7 @@ 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; F3FDCDBCE689422994B6A1EE /* libRNScreens.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNScreens.a; sourceTree = ""; }; + F925F08AD9974204A8E18709 /* libRNGestureHandler.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNGestureHandler.a; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -344,6 +354,7 @@ 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 07750F5642A0469C9883AD8D /* libRNScreens.a in Frameworks */, + 77ABC0AF56DD414DAB943E0B /* libRNGestureHandler.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -475,10 +486,19 @@ name = Frameworks; sourceTree = ""; }; + 44C423EA21C131FD00649BF0 /* Products */ = { + isa = PBXGroup; + children = ( + 44C423EE21C131FD00649BF0 /* libRNGestureHandler.a */, + ); + name = Products; + sourceTree = ""; + }; 44EE36F62114711800CFFB90 /* Recovered References */ = { isa = PBXGroup; children = ( F3FDCDBCE689422994B6A1EE /* libRNScreens.a */, + F925F08AD9974204A8E18709 /* libRNGestureHandler.a */, ); name = "Recovered References"; sourceTree = ""; @@ -525,6 +545,7 @@ 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 67AE6A76A20748599699123B /* RNScreens.xcodeproj */, + 3607E48A55664C85AE714A7F /* RNGestureHandler.xcodeproj */, ); name = Libraries; sourceTree = ""; @@ -665,6 +686,10 @@ ProductGroup = 146834001AC3E56700842450 /* Products */; ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; }, + { + ProductGroup = 44C423EA21C131FD00649BF0 /* Products */; + ProjectRef = 3607E48A55664C85AE714A7F /* RNGestureHandler.xcodeproj */; + }, { ProductGroup = 44EE36F72114711800CFFB90 /* Products */; ProjectRef = 67AE6A76A20748599699123B /* RNScreens.xcodeproj */; @@ -902,6 +927,13 @@ remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 44C423EE21C131FD00649BF0 /* libRNGestureHandler.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libRNGestureHandler.a; + remoteRef = 44C423ED21C131FD00649BF0 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 44EE37202114711800CFFB90 /* libRNScreens.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -1011,9 +1043,14 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-screens/ios/**", + "$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**", ); INFOPLIST_FILE = ScreensExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/ScreensExample\"", + ); OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -1033,9 +1070,14 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-screens/ios/**", + "$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**", ); INFOPLIST_FILE = ScreensExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/ScreensExample\"", + ); OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", diff --git a/Example/navigation/index.js b/Example/navigation/index.js index 9a857af3..a6ba3fc6 100644 --- a/Example/navigation/index.js +++ b/Example/navigation/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { StyleSheet, Button, @@ -8,7 +8,7 @@ import { Image, requireNativeComponent, } from 'react-native'; -import { createStackNavigator } from 'react-navigation'; +import { createStackNavigator, createAppContainer } from 'react-navigation'; // import { createStackNavigator } from './react-navigation/react-navigation'; export const LifecycleAwareView = requireNativeComponent( @@ -106,12 +106,6 @@ const App = createStackNavigator( ); const styles = StyleSheet.create({ - container: { - flex: 1, - justifyContent: 'center', - alignItems: 'center', - backgroundColor: '#F5FCFF', - }, textInput: { backgroundColor: 'white', borderWidth: 1, @@ -122,4 +116,4 @@ const styles = StyleSheet.create({ }, }); -export default App; +export default createAppContainer(App); diff --git a/Example/package.json b/Example/package.json index c32f8621..85018ae8 100644 --- a/Example/package.json +++ b/Example/package.json @@ -10,8 +10,9 @@ "dependencies": { "react": "16.5.1", "react-native": "0.57.0", + "react-native-gesture-handler": "^1.0.10", "react-native-screens": "file:..", - "react-navigation": "^2.14.0" + "react-navigation": "^3.0.8" }, "devDependencies": { "@babel/core": "^7.1.2", diff --git a/Example/yarn.lock b/Example/yarn.lock index 40b4ffb8..1052bb14 100644 --- a/Example/yarn.lock +++ b/Example/yarn.lock @@ -586,6 +586,26 @@ lodash "^4.17.10" to-fast-properties "^2.0.0" +"@react-navigation/core@3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.0.2.tgz#8631801533a27d034a3b8421dfd0510a9f27dcf3" + dependencies: + create-react-context "0.2.2" + hoist-non-react-statics "^3.0.1" + path-to-regexp "^1.7.0" + query-string "^6.2.0" + react-is "^16.5.2" + react-lifecycles-compat "^3.0.4" + +"@react-navigation/native@3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-3.0.3.tgz#6b1a6e15cde719e6c932bd78b23fa1417f6c0cab" + dependencies: + hoist-non-react-statics "^3.0.1" + react-native-gesture-handler "^1.0.0" + react-native-safe-area-view "^0.11.0" + react-native-screens "^1.0.0 || ^1.0.0-alpha" + abab@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" @@ -1441,10 +1461,6 @@ ci-info@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" -clamp@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/clamp/-/clamp-1.0.1.tgz#66a0e64011816e37196828fdc8c8c147312c8634" - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -2338,10 +2354,16 @@ has@^1.0.1: dependencies: function-bind "^1.1.1" -hoist-non-react-statics@^2.2.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: +hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: version "2.5.5" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" +hoist-non-react-statics@^3.0.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.2.1.tgz#c09c0555c84b38a7ede6912b61efddafd6e75e1e" + dependencies: + react-is "^16.3.2" + home-or-tmp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" @@ -4131,7 +4153,7 @@ prompts@^0.1.9: kleur "^2.0.1" sisteransi "^0.1.1" -prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2: +prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.1, prop-types@^15.6.2: version "15.6.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" dependencies: @@ -4158,9 +4180,9 @@ qs@~6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" -query-string@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.1.0.tgz#01e7d69f6a0940dac67a937d6c6325647aa4532a" +query-string@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.2.0.tgz#468edeb542b7e0538f9f9b1aeb26f034f19c86e1" dependencies: decode-uri-component "^0.2.0" strict-uri-encode "^2.0.0" @@ -4201,44 +4223,34 @@ react-devtools-core@3.3.4: shell-quote "^1.6.1" ws "^3.3.1" +react-is@^16.3.2, react-is@^16.5.2: + version "16.6.3" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.3.tgz#d2d7462fcfcbe6ec0da56ad69047e47e56e7eac0" + react-is@^16.5.1: version "16.5.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.5.2.tgz#e2a7b7c3f5d48062eb769fcb123505eb928722e3" -react-lifecycles-compat@^3, react-lifecycles-compat@^3.0.4: +react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" -react-native-dismiss-keyboard@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/react-native-dismiss-keyboard/-/react-native-dismiss-keyboard-1.0.0.tgz#32886242b3f2317e121f3aeb9b0a585e2b879b49" - -react-native-drawer-layout-polyfill@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/react-native-drawer-layout-polyfill/-/react-native-drawer-layout-polyfill-1.3.2.tgz#192c84d7a5a6b8a6d2be2c7daa5e4164518d0cc7" +react-native-gesture-handler@^1.0.0, react-native-gesture-handler@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.10.tgz#160e55e4886471931b7f7d52e22d94007540ab83" dependencies: - react-native-drawer-layout "1.3.2" + hoist-non-react-statics "^2.3.1" + invariant "^2.2.2" + prop-types "^15.5.10" -react-native-drawer-layout@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/react-native-drawer-layout/-/react-native-drawer-layout-1.3.2.tgz#b9740d7663a1dc4f88a61b9c6d93d2d948ea426e" - dependencies: - react-native-dismiss-keyboard "1.0.0" - -react-native-safe-area-view@0.11.0: +react-native-safe-area-view@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.11.0.tgz#4f3dda43c2bace37965e7c6aef5fc83d4f19d174" dependencies: hoist-non-react-statics "^2.3.1" -react-native-screens@^1.0.0-alpha.11, "react-native-screens@file:..": - version "1.0.0-alpha.13" - -react-native-tab-view@^0.0.77: - version "0.0.77" - resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.77.tgz#11ceb8e7c23100d07e628dc151b57797524d00d4" - dependencies: - prop-types "^15.6.0" +"react-native-screens@^1.0.0 || ^1.0.0-alpha", "react-native-screens@file:..": + version "1.0.0-alpha.17" react-native-tab-view@^1.0.0: version "1.0.2" @@ -4246,6 +4258,12 @@ react-native-tab-view@^1.0.0: dependencies: prop-types "^15.6.1" +react-native-tab-view@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-1.3.1.tgz#f9932d6bd5ba7dad75ef9335a68f13d85ba5bd56" + dependencies: + prop-types "^15.6.1" + react-native@0.57.0: version "0.57.0" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.57.0.tgz#b0d098bbd5393fc3c079f8d7c2a8bf9a10b86b9e" @@ -4302,47 +4320,34 @@ react-native@0.57.0: xmldoc "^0.4.0" yargs "^9.0.0" -react-navigation-deprecated-tab-navigator@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/react-navigation-deprecated-tab-navigator/-/react-navigation-deprecated-tab-navigator-1.3.0.tgz#015dcae1e977b984ca7e99245261c15439026bb7" +react-navigation-drawer@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-1.0.5.tgz#d8cc71bd1779186261f3c3754b11f29aa98bd4f5" dependencies: - react-native-tab-view "^0.0.77" + react-native-tab-view "^1.2.0" -react-navigation-drawer@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-0.5.0.tgz#d91b6a6ec65c34ba78c00f814b1e6508922cc9ec" - dependencies: - react-native-drawer-layout-polyfill "^1.3.2" +react-navigation-stack@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.5.tgz#8aad306a069b080f32fcd48a11bfd6abfeb0a6b9" -react-navigation-stack@0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-0.7.0.tgz#0b2f139ee1cba953037ef51353df992ec6c74fa2" - -react-navigation-tabs@0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/react-navigation-tabs/-/react-navigation-tabs-0.8.2.tgz#65f8a6ce368684227603345b4d312da2ef3366e1" +react-navigation-tabs@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/react-navigation-tabs/-/react-navigation-tabs-1.0.1.tgz#c6974e6c279687d3d7f10349b6820dccef1fd37a" dependencies: hoist-non-react-statics "^2.5.0" prop-types "^15.6.1" react-lifecycles-compat "^3.0.4" react-native-tab-view "^1.0.0" -react-navigation@^2.14.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-2.17.0.tgz#ebc5a92d7633f529ca340a38146637ff01f969a4" +react-navigation@^3.0.8: + version "3.0.8" + resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-3.0.8.tgz#34c0d48f29b807dfc5cf399c2fc60fea13adaf2b" dependencies: - clamp "^1.0.1" - create-react-context "0.2.2" - hoist-non-react-statics "^2.2.0" - path-to-regexp "^1.7.0" - query-string "^6.1.0" - react-lifecycles-compat "^3" - react-native-safe-area-view "0.11.0" - react-native-screens "^1.0.0-alpha.11" - react-navigation-deprecated-tab-navigator "1.3.0" - react-navigation-drawer "0.5.0" - react-navigation-stack "0.7.0" - react-navigation-tabs "0.8.2" + "@react-navigation/core" "3.0.2" + "@react-navigation/native" "3.0.3" + react-navigation-drawer "1.0.5" + react-navigation-stack "1.0.5" + react-navigation-tabs "1.0.1" react-proxy@^1.1.7: version "1.1.8"