fix(android): add explicitly dependancy to androidx.activity (#3410)

This commit is contained in:
Olivier Bouillet 2023-12-08 11:33:29 +01:00 committed by GitHub
parent 800aee09de
commit 908e30f9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -143,7 +143,8 @@ repositories {
def media3_version = safeExtGet('media3Version')
def kotlin_version = safeExtGet('kotlinVersion')
def androidxCode_version = safeExtGet('androidxCoreVersion')
def androidxCore_version = safeExtGet('androidxCoreVersion')
def androidxActivity_version = safeExtGet('androidxActivityVersion')
dependencies {
// For < 0.71, this will be from the local maven repo
@ -151,7 +152,8 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
implementation "androidx.core:core:$androidxCode_version"
implementation "androidx.core:core:$androidxCore_version"
implementation "androidx.activity:activity-ktx:$androidxActivity_version"
// For media playback using ExoPlayer
implementation "androidx.media3:media3-exoplayer:$media3_version"

View File

@ -7,3 +7,4 @@ RNVideo_buildToolsVersion=30.0.2
RNVideo_media3Version=1.1.1
RNVideo_RNVUseExoplayerIMA=false
RNVideo_androidxCoreVersion=1.9.0
RNVideo_androidxActivityVersion=1.7.0