Skip to content

Commit 101e634

Browse files
codebutlerosdnk
authored andcommitted
fix: update example for latest expo (#131)
1 parent e5c16ac commit 101e634

File tree

5 files changed

+8381
-2169
lines changed

5 files changed

+8381
-2169
lines changed

Example/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import {
66
StyleSheet,
77
TouchableOpacity,
88
} from 'react-native'
9-
import { createStackNavigator, createAppContainer } from 'react-navigation'
9+
import { createAppContainer } from 'react-navigation'
10+
import { createStackNavigator } from 'react-navigation-stack'
1011

1112
import AppleMusic from './src/screen/AppleMusic'
1213
import Map from './Map'

Example/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Reanimated BottomSheet example",
44
"slug": "reanimated-bottomsheet-example",
55
"privacy": "public",
6-
"sdkVersion": "32.0.0",
6+
"sdkVersion": "33.0.0",
77
"platforms": [
88
"ios",
99
"android"

Example/package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,22 @@
77
"eject": "expo eject"
88
},
99
"dependencies": {
10-
"expo": "^32.0.0",
11-
"react": "16.5.0",
12-
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
13-
"react-navigation": "^3.4.1"
10+
"expo": "^35.0.1",
11+
"expo-blur": "~7.0.0",
12+
"react": "16.12.0",
13+
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
14+
"react-native-gesture-handler": "~1.3.0",
15+
"react-native-reanimated": "~1.2.0",
16+
"react-navigation": "^4.0.10",
17+
"react-navigation-stack": "^1.10.3",
18+
"scheduler": "^0.18.0"
1419
},
1520
"devDependencies": {
16-
"@types/expo": "^32.0.0",
21+
"@types/expo": "^33.0.1",
1722
"@types/expo__vector-icons": "^9.0.1",
18-
"babel-preset-expo": "^5.0.0",
19-
"escape-string-regexp": "^2.0.0"
23+
"babel-preset-expo": "^7.1.0",
24+
"escape-string-regexp": "^2.0.0",
25+
"expo-cli": "^3.8.0"
2026
},
2127
"private": true
2228
}

Example/src/screen/AppleMusic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
TouchableOpacity,
99
FlatList,
1010
} from 'react-native'
11-
import { BlurView } from 'expo'
11+
import { BlurView } from 'expo-blur'
1212
import { Ionicons } from '@expo/vector-icons'
1313
import BottomSheet from 'reanimated-bottom-sheet'
1414
import Animated from 'react-native-reanimated'

0 commit comments

Comments
 (0)