Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拖动进度条崩溃,有人遇到么还是我环境没有好? #28

Open
anha0329 opened this issue Apr 16, 2021 · 4 comments
Open

Comments

@anha0329
Copy link

Invariant Violation: [973,"RCTView",{"width":"<>"}] is not usable as a native method argument

@A-ANing
Copy link
Owner

A-ANing commented Apr 16, 2021

抱歉,这应该是rn版本的问题,0.63后的版本我没有太多空闲时间来做兼容,也许你可以自己做一下兼容

@A-ANing
Copy link
Owner

A-ANing commented Apr 16, 2021

或者说 有更多报错信息吗?

@anha0329
Copy link
Author

看了其他几个视频播放器的功能和扩展,觉得你这个相对较好, 打算使用 暂不放弃。看到报错信息如下,
[Sat Apr 17 2021 12:12:29.970] ERROR Invariant Violation: [1013,"RCTView",{"width":"<>"}] is not usable as a native method argument

This error is located at:
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at view/index.js:423)
in RCTView (at View.js:34)
in View (at view/index.js:421)
in RCTView (at View.js:34)
in View (at view/index.js:416)
in Speed (at react-native-rn-videoplayer/index.js:1157)
in RCTView (at View.js:34)
in View (at react-native-rn-videoplayer/index.js:1117)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at react-native-rn-videoplayer/index.js:1115)
in RCTView (at View.js:34)
in View (at react-native-rn-videoplayer/index.js:976)
in RCTView (at View.js:34)
in View (at react-native-rn-videoplayer/index.js:974)
in VideoPlayer (at NewVideoView.js:68)
in RCTView (at View.js:34)
in View (at NewVideoView.js:58)
in NewVideoView (at navigationStore.js:433)
in Wrapped (created by SceneView)
in SceneView (at StackViewLayout.tsx:889)
in RCTView (at View.js:34)
in View (at StackViewLayout.tsx:888)
in RCTView (at View.js:34)
in View (at StackViewLayout.tsx:887)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at StackViewCard.tsx:106)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at src/index.native.tsx:114)
in Screen (at StackViewCard.tsx:93)
in Card (at createPointerEventsContainer.tsx:95)
in Container (at StackViewLayout.tsx:975)
in RCTView (at View.js:34)
in View (at src/index.native.tsx:145)
in ScreenContainer (at StackViewLayout.tsx:384)
in RCTView (at View.js:34)
in View (at createAnimatedComponent.js:165)
in AnimatedComponent (at createAnimatedComponent.js:215)
in ForwardRef(AnimatedComponentWrapper) (at StackViewLayout.tsx:374)
in PanGestureHandler (at StackViewLayout.tsx:367)
in StackViewLayout (created by withOrientation)
in withOrientation (at StackView.tsx:104)
in RCTView (at View.js:34)
in View (at Transitioner.tsx:267)
in Transitioner (at StackView.tsx:41)
in StackView (created by Navigator)
in Navigator (created by KeyboardAwareNavigator)
in KeyboardAwareNavigator (at LightboxRenderer.js:14)
in RCTView (at View.js:34)
in View (at LightboxRenderer.js:13)
in _default (created by Navigator)
in Navigator (created by NavigationContainer)
in NavigationContainer (at Router.js:97)
in App (at Router.js:122)
in Router (at MainRouter.js:101)
in MainRouter (at App.js:38)
in RCTView (at View.js:34)
in View (at App.js:33)
in App (at renderApplication.js:45)
in RCTView (at View.js:34)
in View (at AppContainer.js:106)
in ChildrenWrapper (at wrapRootComponent.js:9)
in _default (at wrapRootComponent.js:8)
in Root (at AppContainer.js:121)
in RCTView (at View.js:34)
in View (at AppContainer.js:132)
in AppContainer (at renderApplication.js:39)

@A-ANing
Copy link
Owner

A-ANing commented Apr 19, 2021

是否修改过代码 跟进度条的宽度代码有关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants