chore: move sample to expo (#3880)
* perf: ensure we do not provide callback to native if no callback provided from app * chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size * chore: improve issue template * fix(android): avoid video view flickering at playback startup * fix: ensure player doesn't start when view is unmounted * chore: move basic sample to expo * Update examples/basic/package.json Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com> * chore: use last expo version * chore: fix podfile --------- Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android": "react-native run-android",
|
||||
"ios": "react-native run-ios",
|
||||
"android": "expo run:android",
|
||||
"ios": "expo run:ios",
|
||||
"windows": "react-native run-windows",
|
||||
"start": "react-native start",
|
||||
"start": "expo start",
|
||||
"test": "jest",
|
||||
"lint": "eslint .",
|
||||
"pod-install": "cd ios && pod install && cd ..",
|
||||
@@ -14,26 +14,29 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-picker/picker": "2.7.5",
|
||||
"expo": "^51.0.14",
|
||||
"expo-asset": "^10.0.9",
|
||||
"expo-image": "^1.12.12",
|
||||
"react": "18.2.0",
|
||||
"react-native": "0.74.1",
|
||||
"react-native": "0.74.2",
|
||||
"react-native-windows": "0.74.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.10",
|
||||
"@babel/core": "^7.24.0",
|
||||
"@babel/preset-env": "^7.22.10",
|
||||
"@babel/runtime": "^7.22.10",
|
||||
"@react-native/babel-preset": "0.74.83",
|
||||
"@react-native/eslint-config": "0.74.83",
|
||||
"@react-native/metro-config": "0.74.83",
|
||||
"@react-native/typescript-config": "0.74.83",
|
||||
"@types/react": "^18.2.6",
|
||||
"@types/react": "~18.2.79",
|
||||
"@types/react-test-renderer": "^18.0.0",
|
||||
"babel-jest": "^29.6.3",
|
||||
"babel-plugin-module-resolver": "5.0.0",
|
||||
"eslint": "^8.19.0",
|
||||
"jest": "^29.6.3",
|
||||
"prettier": "^2.8.8",
|
||||
"typescript": "5.0.4"
|
||||
"typescript": "~5.3.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^18.0.24"
|
||||
|
||||
Reference in New Issue
Block a user