Closed tusharsarkar closed 1 year ago
@tusharsarkar you can edit your android/build.gradle
to match specs below
buildscript {
ext {
// ...
kotlinVersion = "1.8.10"
// ...
}
dependencies {
// ...
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
// ...
}
}
and android/app/build.gradle
apply plugin: "org.jetbrains.kotlin.android"
Yes, please see https://www.braze.com/docs/developer_guide/platform_integration_guides/react_native/react_sdk_setup/#step-2-complete-native-setup for Kotlin setup.
Which Platforms?
Android
Which React Native Version?
0.71.6
Which @braze/react-native-sdk SDK version?
4.1.0
Repro Rate
100% of the time
Steps To Reproduce
Example:
Add @braze/react-native-sdk and do all the setups setups for Android and iOS
.npx react-native run-android
Expected Behavior
App should build successfully and app should run
Actual Incorrect Behavior
Where: Build file '../node_modules/@braze/react-native-sdk/android/build.gradle' line: 2
What went wrong: A problem occurred evaluating project ':braze_react-native-sdk'.
Verbose Logs
No response
Additional Information
No response