Skip to content

Commit

Permalink
enable --split-per-abi
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Jan 15, 2024
1 parent b8753fb commit 5b35fd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ android {
versionName flutterVersionName
}

splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
universalApk true
}
}

signingConfigs {
release {
keyAlias System.getenv('KEYSTORE_ALIAS')
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.0.1+1
version: 0.0.1+2

environment:
sdk: '>=3.2.3 <4.0.0'
Expand Down

0 comments on commit 5b35fd8

Please sign in to comment.