stream-chat-expo 9.8.3-beta.1 → 9.8.3-beta.2

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.
@@ -69,16 +69,13 @@ android {
69
69
  }
70
70
 
71
71
  compileOptions {
72
- // Must match the Kotlin jvmTarget below. AGP 9 (React Native 0.87) fails the build on an
73
- // inconsistent JVM-target between the Java and Kotlin compilation tasks.
72
+ // Must match the Kotlin jvmTarget set on the KotlinCompile tasks below: an inconsistent
73
+ // JVM-target between the Java and Kotlin compilation tasks fails the build. On AGP 9 this
74
+ // is also what AGP's built-in Kotlin derives the Kotlin jvmTarget from.
74
75
  sourceCompatibility JavaVersion.VERSION_17
75
76
  targetCompatibility JavaVersion.VERSION_17
76
77
  }
77
78
 
78
- kotlinOptions {
79
- jvmTarget = "17"
80
- }
81
-
82
79
  sourceSets {
83
80
  main {
84
81
  if (isNewArchitectureEnabled()) {
@@ -128,6 +125,12 @@ tasks.matching { it.name == "preBuild" }.configureEach {
128
125
 
129
126
  tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
130
127
  dependsOn("syncSharedShimmerSources")
128
+ // Set here rather than via `android.kotlinOptions`: that DSL is contributed by the Kotlin
129
+ // Gradle plugin, which is deliberately not applied when AGP registers the `kotlin`
130
+ // extension itself (see the guard at the top of this file). This form works either way.
131
+ compilerOptions {
132
+ jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
133
+ }
131
134
  }
132
135
 
133
136
  repositories {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-expo",
3
3
  "description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4
- "version": "9.8.3-beta.1",
4
+ "version": "9.8.3-beta.2",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -27,7 +27,7 @@
27
27
  "types": "types/index.d.ts",
28
28
  "dependencies": {
29
29
  "mime": "^4.0.7",
30
- "stream-chat-react-native-core": "9.8.3-beta.1"
30
+ "stream-chat-react-native-core": "9.8.3-beta.2"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "expo": ">=52.0.0",