Update DigiAgriApp to 0.4.0 (14)

This commit is contained in:
checkupdates bot 2025-08-10 05:30:11 +00:00 committed by linsui
parent 78eba7c43a
commit ecddd952fc

View file

@ -266,8 +266,39 @@ Builds:
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk
- versionName: 0.4.0
versionCode: 14
commit: 55958e0647a17eedeaa718495dabd48be4db540e
submodules: true
output: build/app/outputs/flutter-apk/app-release.apk
rm:
- ios
- macos
- linux
- web
prebuild:
- sed -i -e '/shrinkResources/d' -e '/minifyEnabled/d' -e'/gms/d' android/app/build.gradle
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter packages pub get
- cd $PUB_CACHE/hosted/pub.dev/geolocator_android-*/android
- sed -i -e '/gms/d' build.gradle
- cd src/main/java/com/baseflow/geolocator/location
- rm FusedLocationClient.java
- sed -i -e '/if (forceAndroidLocationManager) {/,/^ }/c return new LocationManagerClient(context,
locationOptions);}' -e '/isGooglePlayServicesAvailable/,/^ }/d' -e '/gms/d'
GeolocationManager.java
scanignore:
- flutter/bin/cache
scandelete:
- .pub-cache
- flutter
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[\d.]+$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 0.3.8
CurrentVersionCode: 12
CurrentVersion: 0.4.0
CurrentVersionCode: 14