daf5e595ec
Describe the changes Upgrade ExoPlayer to version 2.17.1 Provide an example of how to test the change Tested with a forked of react-native-video-test * Update exoplayer to v2.15.1 * feat: upgrade ExoPlayer to version 2.17.1 * chore: update CHANGELOG * remove ExoPlayerFullscreenVideoActivity * Fix build issues * Fix build & runtime issues Co-authored-by: Eran Hammer <eran@hammer.io> Co-authored-by: Armands Malejev <armands.malejevs@gmail.com>
27 lines
760 B
Groovy
27 lines
760 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
def safeExtGet(prop, fallback) {
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 31)
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '30.0.2')
|
|
|
|
defaultConfig {
|
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
|
versionCode 1
|
|
versionName "1.0"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "x86"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//noinspection GradleDynamicVersion
|
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
|
implementation 'com.github.thang2162:Android-ScalableVideoView:v1.1.1'
|
|
}
|