From c8e46607b7264fc65a4063de5eaf143649067a72 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 4 May 2022 13:13:23 -0400 Subject: [PATCH] upgrade exoplayer --- patches/react-native-video+5.2.0.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/patches/react-native-video+5.2.0.patch b/patches/react-native-video+5.2.0.patch index 6370d3a41..ddab5f059 100644 --- a/patches/react-native-video+5.2.0.patch +++ b/patches/react-native-video+5.2.0.patch @@ -1,3 +1,25 @@ +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}' diff --git a/node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index fe95fdf..e38b9a9 100644 --- a/node_modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java