Upgrade dependencies, android sdk, flutter, gradle, etc

This commit is contained in:
2025-04-12 10:52:39 +02:00
parent 8ebd95a4b8
commit 05e2fcf185
18 changed files with 273 additions and 489 deletions

2
flutter/.gitignore vendored
View File

@@ -5,6 +5,8 @@
firepit-log.txt
flutter_jank_*
_releases/*
#######################################################################################################################

View File

@@ -8,10 +8,12 @@
# runs app locally (linux)
run:
flutter pub run build_runner build
dart run build_runner build
_JAVA_OPTIONS="" flutter run
# runs on android device (must have network adb enabled teh correct IP)
run-android:
ping -c1 10.10.10.177
adb connect 10.10.10.177:5555
@@ -36,9 +38,10 @@ fix:
gen:
flutter pub run build_runner build
# run `make run` in another terminal (or another variant of flutter run)
autoreload:
@# run `make run` in another terminal (or another variant of flutter run)
@
@_utils/autoreload.sh
icons:
@@ -46,4 +49,13 @@ icons:
clean:
cd android && ./gradlew clean
flutter clean
flutter clean
# upgrade all packages (add --major-versions even updates across new major versions)
# https://docs.flutter.dev/release/upgrade
# upgrading flutter can be done via `flutter upgrade`: https://docs.flutter.dev/release/upgrade
# android/gradle updates should be done via androidStudio: https://docs.flutter.dev/release/breaking-changes/android-java-gradle-migration-guide
upgrade:
flutter upgrade
flutter pub upgrade
flutter doctor

View File

@@ -27,6 +27,13 @@
- [ ] fix time format (in message-list, in card, top right) - midnight is shown as "24:05" instead of "00:05" - thats weird
- [ ] Add scrollbar
-> https://api.flutter.dev/flutter/material/Scrollbar-class.html
- [ ] you cant unsubscribe from foreign channel without completely loosing subscription.
perhaps subscriptions should have two cofirmed bool (both must be true to receive messages): confirmed-owner && confirmed-subscriber
Then the subscriber can unconfirm his half - without loosing the owner confirmation
-----
# TODO iOS specific

View File

@@ -11,3 +11,7 @@ GeneratedPluginRegistrant.java
key.properties
**/*.keystore
**/*.jks
build/
app/.cxx/

View File

@@ -34,7 +34,7 @@ if (keystorePropertiesFile.exists()) {
android {
namespace "com.blackforestbytes.simplecloudnotifier"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion "27.0.12077973" // should be `flutter.ndkVersion` - but some plugins need 27, even though flutter still has the default value of 26 (flutter 3.29 | 2025-04-12)
compileOptions {
coreLibraryDesugaringEnabled true

View File

@@ -1,16 +1,3 @@
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -23,7 +23,8 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "com.android.application" version "8.9.1" apply false
id "org.jetbrains.kotlin.android" version "2.1.10" apply false
// START: FlutterFire Configuration
id "com.google.gms.google-services" version "4.3.15" apply false
// END: FlutterFire Configuration

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter
flutter_launcher_icons: "^0.13.1"
flutter_launcher_icons: ^0.14.3
font_awesome_flutter: '>= 4.7.0'
cupertino_icons: ^1.0.2
@@ -21,18 +21,18 @@ dependencies:
qr_flutter: ^4.1.0
url_launcher: ^6.2.4
infinite_scroll_pagination: ^4.0.0
intl: ^0.19.0
intl: ^0.20.2
path_provider: ^2.1.3
hive_flutter: ^1.1.0
package_info_plus: ^8.0.0
xid: ^1.2.1
flutter_lazy_indexed_stack: ^0.0.6
firebase_core: ^2.32.0
firebase_messaging: ^14.9.4
device_info_plus: ^10.1.0
toastification: ^2.0.0
firebase_core: ^3.13.0
firebase_messaging: ^15.2.5
device_info_plus: ^11.3.0
toastification: ^3.0.1
uuid: ^4.4.0
share_plus: ^9.0.0
share_plus: ^10.1.4
flutter_local_notifications: ^17.2.3
@@ -47,7 +47,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
hive_generator: ^2.0.1
build_runner: ^2.1.4