This repository was archived by the owner on Feb 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed
Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 4141 "homepage" : " https://github.com/react-navigation/react-navigation-native#readme" ,
4242 "dependencies" : {
4343 "hoist-non-react-statics" : " ^3.3.2" ,
44- "react-native-safe-area-view" : " ^0.14.1 "
44+ "react-native-safe-area-view" : " ^0.14.8 "
4545 },
4646 "devDependencies" : {
4747 "@expo/vector-icons" : " ^6.2.0" ,
Original file line number Diff line number Diff line change 11/* eslint-disable import/no-commonjs */
22
3+ import throwIfWrongVersion from './throwIfWrongVersion' ;
4+
35module . exports = {
46 get createAppContainer ( ) {
57 return require ( './createAppContainer' ) . default ;
@@ -39,4 +41,11 @@ module.exports = {
3941 get Themed ( ) {
4042 return require ( './Themed' ) . default ;
4143 } ,
44+
45+ get createNavigationFactory ( ) {
46+ return throwIfWrongVersion ;
47+ } ,
48+ get NavigationContainer ( ) {
49+ return throwIfWrongVersion ;
50+ } ,
4251} ;
Original file line number Diff line number Diff line change 1+ export default function ( ) {
2+ throw new Error (
3+ "This version of '@react-navigation/native' is not compatible with React Navigation 5. Make sure you install 5.x version of '@react-navigation/native'."
4+ ) ;
5+ }
Original file line number Diff line number Diff line change 71537153 dependencies :
71547154 hoist-non-react-statics "^2.3.1"
71557155
7156- react-native-safe-area-view@^0.14.1 :
7157- version "0.14.1 "
7158- resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.14.1 .tgz#3981f6f8628c1769a163313bd8c8eba5edecca0f "
7159- integrity sha512-pLAPWdirNWO/1F6IYkbayW9nDIXkM2F/NPtigYNjZj9nISCW+G2dNuI39DI8LenkxYdhiDaGMXfQHHx9TRn6Fw ==
7156+ react-native-safe-area-view@^0.14.8 :
7157+ version "0.14.8 "
7158+ resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.14.8 .tgz#ef33c46ff8164ae77acad48c3039ec9c34873e5b "
7159+ integrity sha512-MtRSIcZNstxv87Jet+UsPhEd1tpGe8cVskDXlP657x6rHpSrbrc+y13ZNXrwAgGNNhqQNX7UJT68ZIq//ZRmvw ==
71607160 dependencies :
71617161 hoist-non-react-statics "^2.3.1"
71627162
You can’t perform that action at this time.
0 commit comments