We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 600d1e1 commit 3773a19Copy full SHA for 3773a19
examples/bare/android/build.gradle
@@ -23,8 +23,15 @@ buildscript {
23
}
24
25
ext {
26
- // For CI builds
27
- useExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: false
+ // For CI builds
+ // check System.getenv("RNV_SAMPLE_ENABLE_ADS")
28
+ // check gradle.properties "RNVideo_useExoplayerIMA"
29
+ // else default to false
30
+ if (System.getenv("RNV_SAMPLE_ENABLE_ADS") == "true" || project.hasProperty("RNVideo_useExoplayerIMA")) {
31
+ useExoplayerIMA = true
32
+ } else {
33
+ useExoplayerIMA = false
34
+ }
35
36
37
allprojects {
0 commit comments