-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Error while updating property 'backgroundColor' of a view managed by: RCTVideo #649
Comments
Same here, setting backgroundColor to black for android crashes the app. |
Is this problem solved?I also met the same problem |
Exact the same error as @annelorraineuy |
Same error here. Is there any workaround atm? Is not setting backgroundColor enough? |
+1 |
Just removing the backgroundColor style is enough to fix this issue.If you need just wrap it in View with the backgroundColor applied there.
|
Still think it should be a fix for this. The workaround does not work for iOS. |
The error detail is 「TextureView doesn't support displaying a background drawable」and I find the question on stackoverflow . I solved it when setting the targetSdkVersion to 23. |
For those wondering about @dogbutcat 's response, he means go to android/app/build.gradle and modify the targetSdkVersion and compileSdkVersion.
|
When setting a
backgroundColor
to the<Video>
the app crashes.Only on android devices on OS Nougat.
A fatal exception crash with the following error:
com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'backgroundColor' of a view managed by: RCTVideo
and
Caused by: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
Here is the full log:
The text was updated successfully, but these errors were encountered: