From 3449edf4ef08e1132640619e2c9cce38f995f67e Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Thu, 8 Oct 2026 11:39:49 +0200 Subject: [PATCH 1/2] fix(comscore): cap android-analytics below 6.16.0 comscore 6.16.0 declares minCompileSdk=37, which the current AGP line (8.13.x, max recommended compileSdk 36) cannot satisfy, breaking every Android build once the floating "6.+" dependency resolves to it. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .changeset/tame-comscore-cap.md | 5 +++++ comscore/android/build.gradle | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/tame-comscore-cap.md diff --git a/.changeset/tame-comscore-cap.md b/.changeset/tame-comscore-cap.md new file mode 100644 index 00000000..1a202615 --- /dev/null +++ b/.changeset/tame-comscore-cap.md @@ -0,0 +1,5 @@ +--- +'@theoplayer/react-native-analytics-comscore': patch +--- + +Fixed Android builds failing with `Dependency 'com.comscore:android-analytics:6.16.0' requires ... compile against version 37 or later of the Android APIs` on apps compiled against android-36. The connector's floating `6.+` dependency now defaults to `6.15.+`, staying below the version that declares `minCompileSdk=37`, which is unsupported by current Android Gradle plugin releases. Apps that already target a newer compileSdk can still override via `THEOplayerComscore_comscoreVersion`. diff --git a/comscore/android/build.gradle b/comscore/android/build.gradle index 0cc48fe4..c608d75d 100644 --- a/comscore/android/build.gradle +++ b/comscore/android/build.gradle @@ -76,7 +76,9 @@ repositories { def theoplayer_sdk_version = safeExtGet('THEOplayer_sdk', '[10.0.0, 12.0.0)') def kotlin_version = safeExtGet("THEOplayerComscore_kotlinVersion", "2.2.10") -def comscore_version = safeExtGet("THEOplayerComscore_comscoreVersion", "6.+") +// Cap at 6.15.x: comscore 6.16.0 declares minCompileSdk=37, which exceeds the compileSdk +// supported by current Android Gradle plugin versions. +def comscore_version = safeExtGet("THEOplayerComscore_comscoreVersion", "6.15.+") dependencies { // For < 0.71, this will be from the local maven repo From ab33792cb469fb3ca4ddf38583062d675c16acb5 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Thu, 8 Oct 2026 11:48:13 +0200 Subject: [PATCH 2/2] chore: exclude lib output from connector tsconfig.build.json bob runs the commonjs/module/typescript targets concurrently, and the typescript target's tsc glob could pick up .js files under lib/ mid-write (allowJs is inherited), failing builds with TS6053 "File not found". Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- adobe-edge/tsconfig.build.json | 9 +++++++-- adobe/tsconfig.build.json | 9 +++++++-- adscript/tsconfig.build.json | 9 +++++++-- agama/tsconfig.build.json | 9 +++++++-- bitmovin/tsconfig.build.json | 9 +++++++-- comscore/tsconfig.build.json | 9 +++++++-- conviva/tsconfig.build.json | 9 +++++++-- drm/tsconfig.build.json | 9 +++++++-- engage/tsconfig.build.json | 9 +++++++-- gemius/tsconfig.build.json | 9 +++++++-- mux/tsconfig.build.json | 9 +++++++-- nielsen/tsconfig.build.json | 9 +++++++-- npaw/tsconfig.build.json | 9 +++++++-- yospace/tsconfig.build.json | 9 +++++++-- youbora/tsconfig.build.json | 9 +++++++-- 15 files changed, 105 insertions(+), 30 deletions(-) diff --git a/adobe-edge/tsconfig.build.json b/adobe-edge/tsconfig.build.json index f929194b..90188ea7 100644 --- a/adobe-edge/tsconfig.build.json +++ b/adobe-edge/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/adobe/tsconfig.build.json b/adobe/tsconfig.build.json index f929194b..90188ea7 100644 --- a/adobe/tsconfig.build.json +++ b/adobe/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/adscript/tsconfig.build.json b/adscript/tsconfig.build.json index f929194b..90188ea7 100644 --- a/adscript/tsconfig.build.json +++ b/adscript/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/agama/tsconfig.build.json b/agama/tsconfig.build.json index f929194b..90188ea7 100644 --- a/agama/tsconfig.build.json +++ b/agama/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/bitmovin/tsconfig.build.json b/bitmovin/tsconfig.build.json index f929194b..90188ea7 100644 --- a/bitmovin/tsconfig.build.json +++ b/bitmovin/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/comscore/tsconfig.build.json b/comscore/tsconfig.build.json index f929194b..90188ea7 100644 --- a/comscore/tsconfig.build.json +++ b/comscore/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/conviva/tsconfig.build.json b/conviva/tsconfig.build.json index f929194b..90188ea7 100644 --- a/conviva/tsconfig.build.json +++ b/conviva/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/drm/tsconfig.build.json b/drm/tsconfig.build.json index f929194b..90188ea7 100644 --- a/drm/tsconfig.build.json +++ b/drm/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/engage/tsconfig.build.json b/engage/tsconfig.build.json index f929194b..90188ea7 100644 --- a/engage/tsconfig.build.json +++ b/engage/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/gemius/tsconfig.build.json b/gemius/tsconfig.build.json index f929194b..90188ea7 100644 --- a/gemius/tsconfig.build.json +++ b/gemius/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/mux/tsconfig.build.json b/mux/tsconfig.build.json index f929194b..90188ea7 100644 --- a/mux/tsconfig.build.json +++ b/mux/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/nielsen/tsconfig.build.json b/nielsen/tsconfig.build.json index f929194b..90188ea7 100644 --- a/nielsen/tsconfig.build.json +++ b/nielsen/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/npaw/tsconfig.build.json b/npaw/tsconfig.build.json index f929194b..90188ea7 100644 --- a/npaw/tsconfig.build.json +++ b/npaw/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/yospace/tsconfig.build.json b/yospace/tsconfig.build.json index f929194b..90188ea7 100644 --- a/yospace/tsconfig.build.json +++ b/yospace/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] } diff --git a/youbora/tsconfig.build.json b/youbora/tsconfig.build.json index f929194b..90188ea7 100644 --- a/youbora/tsconfig.build.json +++ b/youbora/tsconfig.build.json @@ -1,5 +1,10 @@ - { "extends": "./tsconfig", - "exclude": ["example", "ios", "android"] + "exclude": [ + "node_modules", + "lib", + "example", + "ios", + "android" + ] }