Skip to content

Commit d39c3de

Browse files
authored
Merge pull request #3196 from GetStream/develop
Next Release
2 parents 8872231 + 32dd65c commit d39c3de

39 files changed

Lines changed: 3681 additions & 2475 deletions

File tree

β€Ž.github/workflows/sample-distribution.ymlβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020
uses: webfactory/ssh-agent@v0.7.0
2121
with:
2222
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
24+
- uses: maxim-lobanov/setup-xcode@v1
25+
with:
26+
xcode-version: '16.4.0' # Update as needed
2427
- uses: ./.github/actions/ruby-cache
2528
- name: Install && Build - SDK and Sample App
2629
uses: ./.github/actions/install-and-build-sdk

β€Žexamples/SampleApp/android/app/src/main/java/com/sampleapp/MainApplication.ktβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ import android.app.Application
44
import com.facebook.react.PackageList
55
import com.facebook.react.ReactApplication
66
import com.facebook.react.ReactHost
7+
import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
78
import com.facebook.react.ReactNativeHost
89
import com.facebook.react.ReactPackage
9-
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
1010
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
1111
import com.facebook.react.defaults.DefaultReactNativeHost
12-
import com.facebook.react.soloader.OpenSourceMergedSoMapping
13-
import com.facebook.soloader.SoLoader
12+
13+
import com.facebook.react.ViewManagerOnDemandReactPackage
14+
import android.util.Log
15+
import com.facebook.react.bridge.ReactApplicationContext
16+
import com.facebook.react.bridge.ReactContext
17+
import com.facebook.react.ReactInstanceEventListener
1418

1519
class MainApplication : Application(), ReactApplication {
1620

@@ -35,10 +39,6 @@ class MainApplication : Application(), ReactApplication {
3539

3640
override fun onCreate() {
3741
super.onCreate()
38-
SoLoader.init(this, OpenSourceMergedSoMapping)
39-
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
40-
// If you opted-in for the New Architecture, we load the native entry point for this app.
41-
load()
42-
}
42+
loadReactNative(this)
4343
}
44-
}
44+
}

β€Žexamples/SampleApp/android/build.gradleβ€Ž

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
compileSdkVersion = 35
99
targetSdkVersion = 35
1010
ndkVersion = "27.1.12297006"
11-
kotlinVersion = "2.0.21"
11+
kotlinVersion = "2.1.20"
1212
androidXCore = "1.0.2"
1313
}
1414
repositories {
@@ -38,4 +38,17 @@ allprojects {
3838
}
3939
}
4040

41+
project(':app') {
42+
afterEvaluate {
43+
if (tasks.findByName("preBuild")) {
44+
tasks.preBuild.doFirst {
45+
exec {
46+
workingDir rootDir
47+
commandLine './gradlew', 'generateCodegenArtifactsFromSchema'
48+
}
49+
}
50+
}
51+
}
52+
}
53+
4154
apply plugin: "com.facebook.react.rootproject"
-17.4 KB
Binary file not shown.

β€Žexamples/SampleApp/android/gradle/wrapper/gradle-wrapper.propertiesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

β€Žexamples/SampleApp/android/gradlewβ€Ž

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žexamples/SampleApp/android/gradlew.batβ€Ž

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)