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

update installation guide in readme #103

Closed

Conversation

HarwinderSingh15
Copy link

@HarwinderSingh15 HarwinderSingh15 commented Mar 1, 2024

resolve TypeError: Cannot read property 'COVER' of undefined

If somebody has installed different version of react-native-video. ResizeMode type does not get available in that version

How to reproduce

Try with different version of react-native-video library (without alpha or beta versions)

@LunatiqueCoder
Copy link
Owner

LunatiqueCoder commented Mar 1, 2024

Hello.

As stated in the docs, we only support beta/alpha versions for now, but indeed, the installation steps should also include it. However, this particular README should be updated:

https://github.com/LunatiqueCoder/react-native-media-console/tree/master/packages/media-console#%EF%B8%8F-note

@HarwinderSingh15
Copy link
Author

Ok, Then we might need to declare ResizeMode types as devs might using react-native-video for other uses in the same project which can lead to errors.

If you agree on this. I'll raise another PR after that

@LunatiqueCoder
Copy link
Owner

Closing this in favor of #108

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

Successfully merging this pull request may close these issues.

2 participants