Skip to content

Commit aea6ee9

Browse files
committed
Updated sandwich to 7.1.0
1 parent ea47664 commit aea6ee9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
8080
dependencies {
8181
implementation "com.facebook.react:react-android"
8282
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
83-
implementation "io.qonversion:sandwich:7.0.0"
83+
implementation "io.qonversion:sandwich:7.1.0"
8484
}
8585

8686
if (isNewArchitectureEnabled()) {

android/src/main/java/com/qonversion/reactnativesdk/NoCodesModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class NoCodesModule(private val reactContext: ReactApplicationContext) : NativeN
3232
}
3333

3434
@ReactMethod
35-
override fun initialize(projectKey: String, source: String, version: String) {
35+
override fun initialize(projectKey: String, source: String, version: String, proxyUrl: String?) {
3636
noCodesSandwich.storeSdkInfo(reactContext, source, version)
37-
noCodesSandwich.initialize(reactContext, projectKey, null, null, null)
37+
noCodesSandwich.initialize(reactContext, projectKey, null, null, proxyUrl)
3838
noCodesSandwich.setDelegate(noCodesEventListener)
3939
noCodesSandwich.setScreenCustomizationDelegate()
4040
}

example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ buildscript {
55
compileSdkVersion = 35
66
targetSdkVersion = 35
77
ndkVersion = "27.1.12297006"
8-
kotlinVersion = "2.0.21"
8+
kotlinVersion = "2.1.20"
99
}
1010
repositories {
1111
google()
1212
mavenCentral()
1313
}
1414
dependencies {
15-
classpath("com.android.tools.build:gradle")
15+
classpath("com.android.tools.build:gradle:8.9.2")
1616
classpath("com.facebook.react:react-native-gradle-plugin")
17-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
17+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
1818
}
1919
}
2020

qonversion-react-native-sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
1616
s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
1717
s.private_header_files = "ios/**/*.h"
1818

19-
s.dependency "QonversionSandwich", "7.0.0"
19+
s.dependency "QonversionSandwich", "7.1.0"
2020
install_modules_dependencies(s)
2121
end

0 commit comments

Comments
 (0)