diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 2751161856..40fcbb3215 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -77,4 +77,4 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Run Gradle Build for basic example - run: cd examples/basic/android && export RNV_SAMPLE_DISABLE_ADS=true && ./gradlew assembleDebug --build-cache && cd ../../.. \ No newline at end of file + run: cd examples/basic/android && export RNV_SAMPLE_ENABLE_ADS=false && ./gradlew assembleDebug --build-cache && cd ../../.. \ No newline at end of file diff --git a/examples/basic/android/build.gradle b/examples/basic/android/build.gradle index 787171afab..67960abbe3 100644 --- a/examples/basic/android/build.gradle +++ b/examples/basic/android/build.gradle @@ -11,7 +11,7 @@ buildscript { // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. ndkVersion = "23.1.7779620" - RNVUseExoplayerIMA = System.getenv("RNV_SAMPLE_DISABLE_ADS") ?: true + RNVUseExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true } repositories { google()