apivideo / api.video-reactnative-player

React Native video player
https://api.video
MIT License
17 stars 2 forks source link

Support latest React Native versions #12

Closed vyrotek closed 2 years ago

vyrotek commented 2 years ago

Describe the bug

This has been a great and convenient component.

Unfortunately, when using it with the latest react-native versions (greater than .64) we get peer dependency errors. We have to npm --force to resolve them. The latest react-native version is 0.68.2.

We're using react-native 0.67.2. This package is configured to only support up to .64 but appears to work fine if forced.

Could not resolve dependency:
npm ERR! peer react-native@">=0.60 <=0.64" from @api.video/react-native-player@1.0.0

To Reproduce Steps to reproduce the behavior:

  1. npm i react-native@0.67.2
  2. npm i @api.video/react-native-player@1.0.0

Expected behavior No peer dependency errors please :)

olivierapivideo commented 2 years ago

Hi Jason, We've released a fixed v1.0.1