react-native-video: Could not find com.google.android.exoplayer:exoplayer:2.13.2

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch react-native-video@5.2.0 for the project I’m working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-video/android-exoplayer/build.gradle b/node_modules/react-native-video/android-exoplayer/build.gradle
index d005a58..6a9922b 100644
--- a/node_modules/react-native-video/android-exoplayer/build.gradle
+++ b/node_modules/react-native-video/android-exoplayer/build.gradle
@@ -28,7 +28,7 @@ android {
 
 dependencies {
     implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
-    implementation('com.google.android.exoplayer:exoplayer:2.13.2') {
+    implementation('com.google.android.exoplayer:exoplayer:2.13.3') {
         exclude group: 'com.android.support'
     }
 
@@ -37,7 +37,7 @@ dependencies {
     implementation "androidx.core:core:1.1.0"
     implementation "androidx.media:media:1.1.0"
 
-    implementation('com.google.android.exoplayer:extension-okhttp:2.13.2') {
+    implementation('com.google.android.exoplayer:extension-okhttp:2.13.3') {
         exclude group: 'com.squareup.okhttp3', module: 'okhttp'
     }
     implementation 'com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}'

This issue body was partially generated by patch-package.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 29
  • Comments: 22 (4 by maintainers)

Most upvoted comments

thanks, please open a PR

I’ll see if I can do a quick patch.

Probably first cut of a v6 pre-release in 1-2 weeks.

@hueniverse this ticket can be closed ! πŸ˜ƒ

The culprit for this is likely that exoplayer 2.13.2 is not available on the maven repo: https://mvnrepository.com/artifact/com.google.android.exoplayer/exoplayer

2.13.3 is though.

@erfanshekari could you open a PR with that change?