Closed greatschism closed 5 months ago
You need to use AGP version 8. Please follow the below steps:
android/app/build.gradle Make sure to add the following under android section
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
android/gradle/wrapper/gradle-wrapper.properties Update your distributionUrl
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
android/settings.gradle
id "com.android.application" version "8.1.4" apply false
id "org.jetbrains.kotlin.android" version "1.9.21" apply false
For ref see this commit: https://github.com/v3rm0n/intercom_flutter/commit/6cd517bf146b88e49e22b4ebe9588dcdce02e918
Hi everyone,
After migrating the Gradle setup following a Flutter upgrade, the provided example for integrating Intercom no longer works. Does anyone have an updated example or can explain how to modify the Gradle files to ensure compatibility?
Any assistance would be greatly appreciated!
Thank you in advance!
settings
build.gradle
gradle-wrapper