fix: podpora pro apk split + aktualizace knihovny

This commit is contained in:
Matyáš Caras 2022-12-08 20:30:37 +01:00
parent 0dfb3c1f6a
commit ff5ec1b7de
6 changed files with 21 additions and 3 deletions

View file

@ -1,3 +1,6 @@
# 1.5.1
- aktualizovat knihovnu canteenlib
- přidat podporu pro splitování APK podle ABI
# 1.5.0 # 1.5.0
- umožnit ukládat více dnů offline - umožnit ukládat více dnů offline
- chyba při ukládání offline vás nyní již nevyhodí ale zobrazí pouze zprávu - chyba při ukládání offline vás nyní již nevyhodí ale zobrazí pouze zprávu

View file

@ -83,3 +83,14 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.appcompat:appcompat:1.3.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
} }
ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3]
import com.android.build.OutputFile
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def abiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (abiVersionCode != null) {
output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode
}
}
}

View file

@ -0,0 +1,2 @@
- aktualizace knihovny canteenlib
- splitování APK

View file

@ -0,0 +1,2 @@
- updated canteenlib library
- added support for APK splitting

View file

@ -28,7 +28,7 @@ packages:
name: canteenlib name: canteenlib
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1" version: "1.1.0-alpha.1"
characters: characters:
dependency: transitive dependency: transitive
description: description:

View file

@ -6,7 +6,7 @@ publish_to: 'none'
# The following defines the version and build number for your application. # The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43 # A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +. # followed by an optional build number separated by a +.
version: 1.5.0+23 version: 1.5.1+24
environment: environment:
sdk: ">=2.16.1 <3.0.0" sdk: ">=2.16.1 <3.0.0"
@ -16,7 +16,7 @@ dependencies:
sdk: flutter sdk: flutter
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
canteenlib: ^1.0.1 canteenlib: ^1.1.0-alpha.1
flutter_secure_storage: 5.0.2 flutter_secure_storage: 5.0.2
url_launcher: ^6.0.20 url_launcher: ^6.0.20
path_provider: ^2.0.9 path_provider: ^2.0.9