Skip to content

Commit 5b47cf5

Browse files
fix: component linking method (#4601)
1 parent de8b9cb commit 5b47cf5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"example": {
5151
"name": "react-native-video-example",
52-
"version": "7.0.0-alpha.0",
52+
"version": "7.0.0-alpha.1",
5353
"dependencies": {
5454
"@react-native-community/slider": "^4.5.6",
5555
"react": "18.3.1",
@@ -78,7 +78,7 @@
7878
},
7979
"packages/react-native-video": {
8080
"name": "react-native-video",
81-
"version": "7.0.0-alpha.0",
81+
"version": "7.0.0-alpha.1",
8282
"devDependencies": {
8383
"@expo/config-plugins": "^10.0.2",
8484
"@react-native/eslint-config": "^0.77.0",

packages/react-native-video/src/core/video-view/NativeVideoView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const LINKING_ERROR =
1111
const ComponentName = 'VideoView';
1212

1313
export const NativeVideoView =
14-
UIManager.getViewManagerConfig(ComponentName) != null
14+
UIManager.hasViewManagerConfig(ComponentName) != null
1515
? VideoViewNativeComponent
1616
: () => {
1717
throw new Error(LINKING_ERROR);

0 commit comments

Comments
 (0)