From e7c009d908d644cb7039dd3ec6d76d231b8f67aa Mon Sep 17 00:00:00 2001 From: Iagor Moraes Date: Thu, 9 Dec 2021 15:23:48 -0300 Subject: [PATCH 1/2] add repository dependency and patch version --- android-exoplayer/build.gradle | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/android-exoplayer/build.gradle b/android-exoplayer/build.gradle index d005a58f..048b96af 100644 --- a/android-exoplayer/build.gradle +++ b/android-exoplayer/build.gradle @@ -26,9 +26,14 @@ android { } } +repositories { + // Remove this repository line after google releases to google() or mavenCentral() + maven { url "https://dl.google.com/android/maven2" } +} + 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 +42,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}' From 28d3ec42b8374045fdd38b89fbd0664b8848df0e Mon Sep 17 00:00:00 2001 From: Iagor Moraes Date: Thu, 9 Dec 2021 15:28:00 -0300 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b2a4246..bc7f5943 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### Version 5.2.1 + +- Add Google's maven repository to avoid build error [#2552] (https://github.com/react-native-video/react-native-video/pull/2552) + ### Version 5.2.0 - Fix for tvOS native audio menu language selector