Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions mobile/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("dev.flutter.flutter-gradle-plugin")
// Restored because Flutter 3.13 still strictly requires it.
id("org.jetbrains.kotlin.android")
}

configurations.all {
Expand Down Expand Up @@ -49,7 +48,6 @@ flutter {
source = "../.."
}

// Restored to support Flutter 3.13 Kotlin compilation
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
Expand All @@ -67,8 +65,6 @@ androidComponents {

val baseAbiCode = abiCodes[abi]
if (baseAbiCode != null) {
// FIXED: We read flutter.versionCode directly instead of mapping output.versionCode to itself.
// This breaks the circular loop while still giving you the correct architecture suffix.
val baseVersionCode = flutter.versionCode
output.versionCode.set(baseVersionCode * 10 + baseAbiCode)
}
Expand Down
2 changes: 2 additions & 0 deletions mobile/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:allowBackup="false"
android:fullBackupContent="false"
android:label="Elephant"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
Expand Down
Loading
Loading