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/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/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 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" + ] }