Skip to content

Commit c6dc4c2

Browse files
committed
Upgrade to Expo 41
1 parent 828f5f7 commit c6dc4c2

File tree

5 files changed

+3904
-1625
lines changed

5 files changed

+3904
-1625
lines changed

App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Platform, StatusBar, StyleSheet, View, YellowBox } from 'react-native';
2+
import { Platform, StatusBar, StyleSheet, View, LogBox } from 'react-native';
33
import { SplashScreen } from 'expo';
44
import { Asset } from 'expo-asset';
55
import * as Font from 'expo-font';
@@ -12,7 +12,7 @@ import useLinking from './navigation/useLinking';
1212

1313
const Stack = createStackNavigator();
1414

15-
YellowBox.ignoreWarnings(['VirtualizedLists']);
15+
LogBox.ignoreAllLogs();
1616

1717
export default function App(props) {
1818
const [isLoadingComplete, setLoadingComplete] = React.useState(false);

app.json

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"name": "Netflix",
44
"slug": "netflix",
55
"privacy": "public",
6-
"sdkVersion": "36.0.0",
76
"platforms": [
87
"ios",
98
"android",

navigation/useLinking.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useLinking } from '@react-navigation/native';
2-
import { Linking } from 'expo';
2+
import * as Linking from 'expo-linking';
33

44
export default function(containerRef) {
55
return useLinking(containerRef, {

package.json

+21-20
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,33 @@
1212
"preset": "jest-expo"
1313
},
1414
"dependencies": {
15-
"@expo/vector-icons": "~10.0.0",
16-
"@react-native-community/masked-view": "0.1.5",
15+
"@expo/vector-icons": "^12.0.0",
16+
"@react-native-community/masked-view": "0.1.10",
1717
"@react-navigation/bottom-tabs": "^5.0.0",
18-
"@react-navigation/native": "^5.0.0",
18+
"@react-navigation/native": "^5.9.4",
1919
"@react-navigation/stack": "^5.0.0",
2020
"@react-navigation/web": "~1.0.0-alpha.9",
21-
"expo": "~36.0.0",
22-
"expo-asset": "~8.0.0",
23-
"expo-constants": "~8.0.0",
24-
"expo-font": "~8.0.0",
25-
"expo-linear-gradient": "~8.0.0",
26-
"expo-web-browser": "~8.0.0",
27-
"react": "~16.9.0",
28-
"react-dom": "~16.9.0",
29-
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz",
30-
"react-native-gesture-handler": "~1.5.0",
31-
"react-native-safe-area-context": "0.6.0",
32-
"react-native-screens": "2.0.0-alpha.12",
33-
"react-native-svg": "9.13.3",
34-
"react-native-web": "~0.11.7",
21+
"expo": "^41.0.0",
22+
"expo-asset": "~8.3.1",
23+
"expo-constants": "~10.1.3",
24+
"expo-font": "~9.1.0",
25+
"expo-linear-gradient": "~9.1.0",
26+
"expo-linking": "~2.2.3",
27+
"expo-web-browser": "~9.1.0",
28+
"react": "16.13.1",
29+
"react-dom": "16.13.1",
30+
"react-native": "https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz",
31+
"react-native-gesture-handler": "~1.10.2",
32+
"react-native-safe-area-context": "3.2.0",
33+
"react-native-screens": "~3.0.0",
34+
"react-native-svg": "12.1.0",
35+
"react-native-web": "~0.13.12",
3536
"react-spring": "^8.0.27"
3637
},
3738
"devDependencies": {
38-
"@babel/core": "^7.0.0",
39-
"babel-preset-expo": "~8.0.0",
40-
"jest-expo": "~36.0.1"
39+
"@babel/core": "~7.9.0",
40+
"babel-preset-expo": "8.3.0",
41+
"jest-expo": "^41.0.0"
4142
},
4243
"private": true
4344
}

0 commit comments

Comments
 (0)