Use apks instead of appbundle for Play Store

This commit is contained in:
Varakh 2021-02-08 18:00:43 +01:00
parent 1adf487782
commit 01afccc78c
5 changed files with 24 additions and 1 deletions

View file

@ -1,5 +1,8 @@
# CHANGELOG
## 1.0.0+3
* Fixed launch bug
## 1.0.0+2
* Automatic refresh history if something has been uploaded

View file

@ -6,6 +6,11 @@ platform :android do
sh("#{ENV['PWD']}/fastlane/buildAndroidDebug.sh")
end
desc "Build Production"
lane :build_production do
sh("#{ENV['PWD']}/fastlane/buildAndroidProduction.sh")
end
desc "Build"
lane :build do
sh("#{ENV['PWD']}/fastlane/buildAndroid.sh")

View file

@ -21,6 +21,11 @@ or alternatively using `brew install fastlane`
fastlane android build_debug
```
Build Debug
### android build_production
```
fastlane android build_production
```
Build Production
### android build
```
fastlane android build

View file

@ -0,0 +1,10 @@
#!/usr/bin/env sh
cd ../../;
flutter clean && \
flutter pub get &&
flutter packages pub run build_runner build --delete-conflicting-outputs;
flutter build apk --debug
flutter build apk --profile
flutter build apk --release --target-platform android-arm,android-arm64,android-x64 --split-per-abi;

View file

@ -11,7 +11,7 @@ description: A mobile client for FileBin.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+2
version: 1.0.0+3
environment:
sdk: ">=2.7.0 <3.0.0"