fix: podpora pro apk split + aktualizace knihovny
Merge pull request #35 from hernikplays/split
This commit is contained in:
commit
c2ea5a1a11
6 changed files with 21 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
# 1.5.1
|
||||
- aktualizovat knihovnu canteenlib
|
||||
- přidat podporu pro splitování APK podle ABI
|
||||
# 1.5.0
|
||||
- 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
|
||||
|
|
|
@ -83,3 +83,14 @@ dependencies {
|
|||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
2
metadata/cs-CZ/changelogs/24.txt
Normal file
2
metadata/cs-CZ/changelogs/24.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
- aktualizace knihovny canteenlib
|
||||
- splitování APK
|
2
metadata/en-US/changelogs/24.txt
Normal file
2
metadata/en-US/changelogs/24.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
- updated canteenlib library
|
||||
- added support for APK splitting
|
|
@ -28,7 +28,7 @@ packages:
|
|||
name: canteenlib
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
version: "1.1.0-alpha.1"
|
||||
characters:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -6,7 +6,7 @@ publish_to: 'none'
|
|||
# The following defines the version and build number for your application.
|
||||
# A version number is three numbers separated by dots, like 1.2.43
|
||||
# followed by an optional build number separated by a +.
|
||||
version: 1.5.0+23
|
||||
version: 1.5.1+24
|
||||
|
||||
environment:
|
||||
sdk: ">=2.16.1 <3.0.0"
|
||||
|
@ -16,7 +16,7 @@ dependencies:
|
|||
sdk: flutter
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
canteenlib: ^1.0.1
|
||||
canteenlib: ^1.1.0-alpha.1
|
||||
flutter_secure_storage: 5.0.2
|
||||
url_launcher: ^6.0.20
|
||||
path_provider: ^2.0.9
|
||||
|
|
Reference in a new issue