Skip to content

Commit

Permalink
fix aab build
Browse files Browse the repository at this point in the history
  • Loading branch information
laiiihz committed Apr 15, 2022
1 parent 552d04d commit 669e2f0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ android {
applicationId "tech.laihz.alga.abi64bit"
resValue "string", "app_name", "Alga"
}
aab {
dimension "abi"
applicationId "tech.laihz.alga.aab"
resValue "string", "app_name", "Alga"
}
}

// ----- END flavorDimensions (autogenerated by flutter_flavorizr) -----
Expand Down
6 changes: 4 additions & 2 deletions distribute_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,22 @@ releases:
package:
platform: android
target: apk
flavor: abi32bit
build_args:
flavor: abi32bit
target-platform: android-arm
- name: android-64bit
package:
platform: android
target: apk
flavor: abi64bit
build_args:
flavor: abi64bit
target-platform: android-arm64
- name: aab
package:
platform: android
target: aab
build_args:
flavor: aab
- name: windows
jobs:
- name: release-windows
Expand Down
10 changes: 10 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,13 @@ flavorizr:

ios:
bundleId: "tech.laihz.alga"

aab:
app:
name: "Alga"

android:
applicationId: "tech.laihz.alga.aab"

ios:
bundleId: "tech.laihz.alga"

0 comments on commit 669e2f0

Please sign in to comment.