feat(android): allow to disable selected functionalities (#3681)

* feat(android): add possibility do disable some of functionalities

* create dump classes

* remove dump files when functionalities are enabled

* add docs

* enable all functionalities in example

* throw error when trying to use disabled functionality

* update docs
This commit is contained in:
Krzysztof Moch
2024-04-16 14:23:19 +02:00
committed by GitHub
parent 2285eba8f0
commit 64e3191f73
16 changed files with 352 additions and 19 deletions

View File

@@ -9,7 +9,13 @@ buildscript {
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"
RNVUseExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true
useExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true
useExoplayerRtsp = true
// use the following to disable ExoPlayer modules - this will reduce the size of your app
// useExoplayerSmoothStreaming = false
// useExoplayerDash = false
// useExoplayerHls = false
}
repositories {
google()