@encorekit/react-native 1.1.25 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +13 -4
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -90,10 +90,19 @@ dependencies {
|
|
|
90
90
|
compileOnly "com.facebook.react:react-android:${rnVersion}"
|
|
91
91
|
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
92
92
|
|
|
93
|
-
// Bridge uses coroutines for async calls to native SDK
|
|
94
|
-
|
|
93
|
+
// Bridge uses coroutines for async calls to native SDK.
|
|
94
|
+
// Pinned to 1.8.x for binary compatibility with Kotlin 2.0 (RN 0.83+)
|
|
95
|
+
// and 1.9.x (older RN). Exclude the entire org.jetbrains.kotlin group
|
|
96
|
+
// (stdlib, reflect, etc.) so the host app's Kotlin version always wins.
|
|
97
|
+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1") {
|
|
98
|
+
exclude group: 'org.jetbrains.kotlin'
|
|
99
|
+
}
|
|
95
100
|
|
|
96
|
-
// Encore native Android SDK — we own this version
|
|
97
|
-
|
|
101
|
+
// Encore native Android SDK — we own this version.
|
|
102
|
+
// Exclude all transitive Kotlin artifacts to avoid version conflicts
|
|
103
|
+
// with the host app's Kotlin version.
|
|
104
|
+
implementation("com.encorekit:encore:${encoreAndroidVersion}") {
|
|
105
|
+
exclude group: 'org.jetbrains.kotlin'
|
|
106
|
+
}
|
|
98
107
|
}
|
|
99
108
|
|