From 545ec3b3409b036e59a5b4284e44a7d4dcb74365 Mon Sep 17 00:00:00 2001 From: Nitkalya Wiriyanuparb Date: Fri, 23 Jun 2023 13:48:28 +1200 Subject: [PATCH] Fix Android build (#12) --- CHANGELOG.md | 2 ++ android/build.gradle | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1686d0b1da..76785c1cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ * Update build.gradle for React Native 0.59+ compatibility * Play audio through earpiece by default * Turn on proximity sensor when playing audio +* Fix build caused by JCenter being removed + * Cherry picked from [this commit](https://github.com/react-native-video/react-native-video/commit/9bfd806f76cab8233c32feea04b1477a72d09aa7) ### Version 5.0.2 * Fix crash when RCTVideo's superclass doesn't observe the keyPath 'frame' (iOS) [#1720](https://github.com/react-native-community/react-native-video/pull/1720) diff --git a/android/build.gradle b/android/build.gradle index 2fb8dfd2ac..3d430be2b1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,5 +22,5 @@ android { dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - implementation 'com.yqritc:android-scalablevideoview:1.0.4' + implementation "com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b" }