## Summary - Upgrades 9 direct dependencies and their transitive peers to resolve the CI warning: *"38 packages have newer versions incompatible with dependency constraints"* - Reduces incompatible-version count from **38 → 21** (the remaining 21 are either deliberately pinned, constrained by transitive dep ceilings, or require a separate riverpod 2→3 migration) - Adapts two source files to breaking API changes in the upgraded packages: - `notification_service.dart`: `flutter_local_notifications` 21.x changed positional args to named params (`initialize(settings:…)`, `show(id:…, title:…, body:…, notificationDetails:…)`) - `compose_screen.dart`: `file_picker` 12.x removed `FilePicker.platform` static getter; calls are now `FilePicker.pickFiles()` ## Packages changed | Package | Before | After | |---|---|---| | `go_router` | ^14.8.1 | ^17.2.3 | | `flutter_local_notifications` | ^18.0.1 | ^21.0.0 | | `file_picker` | ^8.0.0 | ^12.0.0-beta.4 | | `mobile_scanner` | ^5.0.0 | ^7.2.0 | | `package_info_plus` | ^8.0.0 | ^10.1.0 | | `share_plus` | ^12.0.2 | ^13.1.0 | | `sqlite3_flutter_libs` | ^0.5.28 | ^0.6.0+eol | | `flutter_lints` | ^4.0.0 | ^6.0.0 | | `flutter_secure_storage` | 10.2.0 | 10.3.0 (patch) | ## Test plan - [x] `flutter analyze` — no issues - [x] Unit tests (324 passed) - [x] Widget tests (116 passed) - [ ] CI full check suite 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Thomas SharedInbox <sharedinbox@thomas-guettler.de> Reviewed-on: https://codeberg.org/guettli/sharedinbox/pulls/165
92 lines
2.2 KiB
YAML
92 lines
2.2 KiB
YAML
name: sharedinbox
|
|
description: IMAP email client for Android, iOS, and Desktop.
|
|
publish_to: none
|
|
version: 0.1.1
|
|
|
|
environment:
|
|
sdk: '>=3.3.0 <4.0.0'
|
|
flutter: '>=3.22.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# Not used directly, but required to silence Flutter's "missing CupertinoIcons font" build warning.
|
|
cupertino_icons: ^1.0.8
|
|
|
|
enough_mail: ^2.1.7
|
|
http: ^1.2.0
|
|
|
|
# Local persistence (offline-first)
|
|
drift: ^2.20.3
|
|
sqlite3_flutter_libs: ^0.6.0+eol
|
|
path_provider: ^2.1.5
|
|
path: ^1.9.1
|
|
|
|
# State management
|
|
flutter_riverpod: ^2.6.1
|
|
|
|
# Navigation
|
|
go_router: ^17.2.3
|
|
|
|
# Secure credential storage (passwords)
|
|
flutter_secure_storage: ^10.0.0
|
|
|
|
# Date formatting
|
|
intl: any
|
|
|
|
# File picking (compose attachments) and opening downloaded attachments
|
|
file_picker: ^12.0.0-beta.4
|
|
open_filex: ^4.6.0
|
|
mime: ^2.0.0
|
|
|
|
# QR code generation for account sharing
|
|
qr_flutter: ^4.1.0
|
|
|
|
# Public-key encryption for secure account sharing (ECIES: X25519 + AES-256-GCM)
|
|
cryptography: ^2.7.0
|
|
|
|
# QR code scanning (camera) for secure account import
|
|
mobile_scanner: ^7.2.0
|
|
|
|
# HTML rendering for email bodies
|
|
webview_flutter: ^4.0.0
|
|
url_launcher: ^6.3.2
|
|
flutter_markdown_plus: ^1.0.7
|
|
|
|
# Background sync and local notifications
|
|
flutter_local_notifications: ^21.0.0
|
|
workmanager: ^0.9.0
|
|
|
|
# App version metadata for crash reports
|
|
package_info_plus: ^10.1.0
|
|
share_plus: ^13.1.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
integration_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
drift_dev: ^2.20.3
|
|
build_runner: ^2.4.13
|
|
test: ^1.25.0
|
|
mockito: ^5.4.4
|
|
fake_async: ^1.3.1
|
|
path_provider_platform_interface: ^2.1.2
|
|
sqlite3: ^3.1.5 # used directly in test/unit/db_test_helper.dart; 3.x required for Database.close()
|
|
url_launcher_platform_interface: ^2.3.2
|
|
plugin_platform_interface: ^2.1.8
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/
|
|
|
|
dependency_overrides:
|
|
# path_provider_android 2.2.21 updated to Pigeon 26, which causes a
|
|
# channel-error on startup on some Android devices. 2.3+ uses package:jni
|
|
# (SIGSEGV in libdartjni.so FindClassUnchecked). Pin to 2.2.20 which uses
|
|
# stable Pigeon and is known to work reliably.
|
|
path_provider_android: ">=2.2.0 <2.2.21"
|