Since exo add API changed removed the ads media source implementation.

This commit is contained in:
Olgun Kaya
2021-08-01 14:47:11 +03:00
parent 112310c38d
commit 7a1bc64c08
4 changed files with 15 additions and 18 deletions

View File

@@ -135,7 +135,7 @@ android {
}
dependencies {
implementation project(':react-native-video')
implementation project(':react-native-video-inc-ads')
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'org.webkit:android-jsc:+'
}

View File

@@ -1,6 +1,6 @@
rootProject.name = 'VideoPlayer'
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
include ':react-native-video-inc-ads'
project(':react-native-video-inc-ads').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video-inc-ads/android-exoplayer')
include ':app'