From 5b35fd808e3d969b75dff532bc6dbda036380986 Mon Sep 17 00:00:00 2001 From: Jacob Moura Date: Mon, 15 Jan 2024 01:47:51 -0300 Subject: [PATCH] enable --split-per-abi --- android/app/build.gradle | 9 +++++++++ pubspec.yaml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index dc19867..7d6d605 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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') diff --git a/pubspec.yaml b/pubspec.yaml index 54aa28a..a28a328 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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'